Skip to content

Commit

Permalink
Fixed is issue with select boxes
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Nov 2, 2021
1 parent 0bfaa29 commit 32a8b87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/app/form/component/widgets/SelectWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const SelectWidget = ({
<option value="">{translator(placeholder)}</option>
)}
{(enumOptions).map(({ value, label }, i) =>
<option key={i} id={label} value={value} disabled={Array.isArray(enumDisabled) && (enumDisabled).indexOf(value) !== -1}>
<option key={i} id={`${label}-${id}`} value={value} disabled={Array.isArray(enumDisabled) && (enumDisabled).indexOf(value) !== -1}>
{translator(label)}
</option>
)}
Expand Down

0 comments on commit 32a8b87

Please sign in to comment.