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: Expected to be able to set a default value for the fields as stated in the documentation
What happened instead: This does not work
Steps to reproduce:
Related code:
<NullableBooleanInput source="commentable" defaultValue={true} /> <NullableBooleanInput source="commentable" defaultValue={false} /> <NullableBooleanInput source="commentable" defaultValue={null} />
https://codesandbox.io/s/old-firefly-879dr?file=/src/posts/PostCreate.tsx:2648-2713
Other information: In the codesandbox example, there was some kind of crutch passing the defaultValue for BooleanInput. does not look like in the documentation https://marmelab.com/react-admin/CreateEdit.html#per-input-default-value
Environment
The text was updated successfully, but these errors were encountered:
Reproduced. Thanks for the report!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
What you were expecting:
Expected to be able to set a default value for the fields as stated in the documentation
What happened instead:
This does not work
Steps to reproduce:
Related code:
https://codesandbox.io/s/old-firefly-879dr?file=/src/posts/PostCreate.tsx:2648-2713
Other information:
In the codesandbox example, there was some kind of crutch passing the defaultValue for BooleanInput. does not look like in the documentation
https://marmelab.com/react-admin/CreateEdit.html#per-input-default-value
Environment
The text was updated successfully, but these errors were encountered: