We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What you were expecting: I am expecting to get null value from form state when null default value is set.
What happened instead: Blank string from form state returns.
Steps to reproduce:
Related code: Set default value:
<SimpleForm defaultValues={{ field: null, }} >
Use it:
<FormDataConsumer> {({formData}) => ( <div> field: {JSON.stringify(formData.field)} </div> )} </FormDataConsumer>
Result is:
field: ""
Environment
The text was updated successfully, but these errors were encountered:
Yes. It's a work in progress #8262
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
What you were expecting:
I am expecting to get null value from form state when null default value is set.
What happened instead:
Blank string from form state returns.
Steps to reproduce:
Related code:
Set default value:
Use it:
Result is:
Environment
The text was updated successfully, but these errors were encountered: