You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to set a default value inside my typed ReactHookFormCheckbox it looks like the type is never and so the only default value I can set is undefined.
If you see I have a useArrayField that can be of 2 different types. When I set the Path to the actions array the typed value is never and not the one that I was expecting: boolean
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When I try to set a default value inside my typed ReactHookFormCheckbox it looks like the type is never and so the only default value I can set is undefined.
Here I created a sandbox: Codesandbox
If you see I have a useArrayField that can be of 2 different types. When I set the Path to the actions array the typed value is never and not the one that I was expecting: boolean
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions