Skip to content

Commit

Permalink
Merge pull request #11 from JonssonWorkwear/main
Browse files Browse the repository at this point in the history
fix: Allow selections for multiple instances
  • Loading branch information
bogdaaamn authored Aug 26, 2024
2 parents 2a3e8c7 + addf08b commit 54443e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/src/components/IconPicker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ const IconPickerWrapper = styled(Flex)`
const IconPick = ({ iconKey, name, onChange, isSelected, ariaLabel }) => {
return (
<Field name={name} required={false}>
<FieldLabel htmlFor={iconKey} id={`${iconKey}-label`}>
<FieldLabel htmlFor={`${iconKey}-${name}`} id={`${iconKey}-${name}`}>
<VisuallyHidden>
<FieldInput
type="radio"
id={iconKey}
id={`${iconKey}-${name}`}
name={name}
checked={isSelected}
onChange={onChange}
Expand Down

0 comments on commit 54443e0

Please sign in to comment.