Replies: 3 comments 1 reply
-
What issues are you seeing when using |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have to set all the defaultValue properties to the exact form schema: const form = useForm<FormSchema, ValibotValidator>({
defaultValues: { // Cant do this, I am required to set description + someComplexObject
name: "",
},
onSubmit: async ({ value }) => {
},
validatorAdapter: valibotValidator(),
}); error:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
I created a stackblitz example to show the exact replication of the issue I am facing @crutchcorn |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently its not possible to set certain defaultvalues to undefined if we use a validator like Valibot. In the example shown below, we have a schema where we have a complex object that has many properties and nested values
Would be even nicer to only select the defaultValues you want, something like:
Beta Was this translation helpful? Give feedback.
All reactions