1
Fork 0

Fix checkbox bug

This commit is contained in:
Hadeed 2024-06-11 06:16:53 +04:00
parent 4c4a335e1d
commit 298fa8de87

View file

@ -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 },