diff options
Diffstat (limited to 'modern/src/common/components/SelectField.js')
-rw-r--r-- | modern/src/common/components/SelectField.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modern/src/common/components/SelectField.js b/modern/src/common/components/SelectField.js index 5a9a176b..d3de5c46 100644 --- a/modern/src/common/components/SelectField.js +++ b/modern/src/common/components/SelectField.js @@ -1,12 +1,11 @@ import { FormControl, InputLabel, MenuItem, Select, -} from '@material-ui/core'; +} from '@mui/material'; import React, { useState } from 'react'; import { useEffectAsync } from '../../reactHelper'; const SelectField = ({ margin, - variant, label, multiple, value, @@ -33,9 +32,10 @@ const SelectField = ({ if (items) { return ( - <FormControl margin={margin} variant={variant}> + <FormControl margin={margin} fullWidth> <InputLabel>{label}</InputLabel> <Select + label={label} multiple={multiple} value={value} onChange={onChange} |