Skip to content

Commit

Permalink
chore: checkbox uses strings to verify check
Browse files Browse the repository at this point in the history
  • Loading branch information
luizakp committed May 27, 2024
1 parent 2c863e1 commit a9e9739
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ export const MultiSelectCheckboxes =
>
<FormControl>
<Checkbox
checked={formField.value?.includes(item.value)}
checked={formField.value
?.map(String)
.includes(item.value)}
onCheckedChange={(checked) =>
checked
? formField.onChange([
Expand Down

0 comments on commit a9e9739

Please sign in to comment.