Fix checkbox bug
This commit is contained in:
parent
4c4a335e1d
commit
298fa8de87
1 changed files with 1 additions and 0 deletions
|
@ -146,6 +146,7 @@ export default function App() {
|
|||
control={control}
|
||||
name="consent_given"
|
||||
rules={{ validate: (value) => value }}
|
||||
defaultValue={false}
|
||||
render={({
|
||||
field: { onChange, value },
|
||||
fieldState: { invalid },
|
||||
|
|
Reference in a new issue