fix: Select

This commit is contained in:
IlyaDoronin 2023-08-15 17:15:48 +03:00
parent 2bb0e336e7
commit 506e93028e

@ -40,7 +40,7 @@ export const Select = ({ items, empty, onChange, sx }: SelectProps) => {
<MuiSelect
id="display-select"
variant="outlined"
value={String(activeItem)}
value={activeItem === -1 ? "" : String(activeItem)}
displayEmpty
onChange={handleChange}
sx={{