Skip to content

Commit

Permalink
set dropdown auto width
Browse files Browse the repository at this point in the history
  • Loading branch information
VargaJoe committed Sep 29, 2023
1 parent ba4c49e commit 7a2eb99
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ export const DropDownList: React.FC<ReactClientFieldSetting<ChoiceFieldSetting>>
case 'edit':
case 'new':
return (
<FormControl fullWidth={true} required={props.settings.Compulsory} disabled={props.settings.ReadOnly}>
<FormControl
style={{ minWidth: '220px' }}
required={props.settings.Compulsory}
disabled={props.settings.ReadOnly}>
<InputLabel htmlFor={props.settings.Name}>{props.settings.DisplayName}</InputLabel>
<Select
onChange={handleChange}
Expand Down

0 comments on commit 7a2eb99

Please sign in to comment.