Skip to content

Commit

Permalink
fix(@tinacms/fields): Fix Radio Final Form Warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Enigmatical committed Mar 25, 2021
1 parent 4906fa6 commit 03cf71b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/@tinacms/fields/src/components/RadioGroup.tsx
Expand Up @@ -83,7 +83,8 @@ export const RadioGroup: React.FC<RadioGroupProps> = ({
id={optionId}
name={input.name}
value={option.value}
onChange={input.onChange}
// https://github.com/final-form/react-final-form/issues/392#issuecomment-543118944
onChange={event => input.onChange(event.target.value)}
checked={checked}
/>
<RadioOption
Expand Down

0 comments on commit 03cf71b

Please sign in to comment.