The issue presented in the codesandbox is that address 2
actually registers a group input, an object of street and city, which would provide an object of nulls instead of a nullable value which is way failed in the schema validation. That's not a problem with Controller, you can provide any defaultValue other than undefined
.
#11405
Unanswered
MatheusRoichman
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Originally posted by @bluebill1049 in #8046 (comment)
@bluebill1049 so what is the solution for it? Like, when working with fields inside a nullable object, prevent creating an object with null values, but instead leaving the object set as null?
Beta Was this translation helpful? Give feedback.
All reactions