This commit is contained in:
Alex Holliday committed 2025-03-06 09:48:10 -08:00
1 parent b1736ef089
commit e8fe3ceee3
1 file changed
+1 -16
+1 -16
View File
@@ -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,