Skip to content

Commit

Permalink
fix: fix support for boolean values in select fields
Browse files Browse the repository at this point in the history
  • Loading branch information
estephan authored Apr 4, 2024
1 parent 4a479b1 commit c4a66ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const SelectField = ({
e.currentTarget.value === "true" ||
e.currentTarget.value === "false"
) {
onChange(Boolean(e.currentTarget.value));
onChange(JSON.parse(e.currentTarget.value));
return;
}

Expand Down

0 comments on commit c4a66ad

Please sign in to comment.