reset
This commit is contained in:
1 parent
b1736ef089
commit
e8fe3ceee3
1 file changed
+1
-16
@@ -83,25 +83,10 @@ const Select = ({
|
|||||||
name={name}
|
name={name}
|
||||||
inputProps={{ id: id }}
|
inputProps={{ id: id }}
|
||||||
IconComponent={KeyboardArrowDownIcon}
|
IconComponent={KeyboardArrowDownIcon}
|
||||||
renderValue={(selected) => {
|
MenuProps={{ disableScrollLock: true }}
|
||||||
return (
|
|
||||||
<Typography
|
|
||||||
noWrap
|
|
||||||
sx={{
|
|
||||||
overflow: "hidden",
|
|
||||||
textOverflow: "ellipsis",
|
|
||||||
whiteSpace: "nowrap",
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
{items.find((item) => item._id === selected)?.name}
|
|
||||||
</Typography>
|
|
||||||
);
|
|
||||||
}}
|
|
||||||
sx={{
|
sx={{
|
||||||
fontSize: 13,
|
fontSize: 13,
|
||||||
maxWidth: "200px",
|
|
||||||
minWidth: "125px",
|
minWidth: "125px",
|
||||||
|
|
||||||
"& fieldset": {
|
"& fieldset": {
|
||||||
borderRadius: theme.shape.borderRadius,
|
borderRadius: theme.shape.borderRadius,
|
||||||
borderColor: theme.palette.primary.lowContrast,
|
borderColor: theme.palette.primary.lowContrast,
|
||||||
|
|||||||
Reference in new issue
Block a user