Skip to content

Commit 416ac79

Browse files
remove lodash startCase from label of checkboxes
use of lodash startCase was changing the values of enum values used a labels. Removed function and import.
1 parent d65d7eb commit 416ac79

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/material/src/complex/MaterialEnumArrayRenderer.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import {
2222
FormHelperText,
2323
Hidden
2424
} from '@mui/material';
25-
import startCase from 'lodash/startCase';
2625
import isEmpty from 'lodash/isEmpty';
2726
import React from 'react';
2827

@@ -68,7 +67,7 @@ export const MaterialEnumArrayRenderer = ({
6867
{...otherProps}
6968
/>
7069
}
71-
label={startCase(option.label)}
70+
label={option.label}
7271
/>
7372
);
7473
})}

0 commit comments

Comments
 (0)