-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
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
Add displayNull option in NullableBooleanInput and document it #4365
Conversation
Please PR against |
b7b065d
to
5e9b633
Compare
26f8a4d
to
d80e3ba
Compare
d80e3ba
to
0b75ae7
Compare
I think you should mention in the documentation that you should add new messages as i18n provider for admin component so that it would work. Just wasted 20 mins of my life trying to figure out what's wrong. |
Sure, maybe you can open a pull request? |
Done! #5172 |
Thanks @sliterok! |
Closes #4362
Issue
When a NullableBooleanInput has a null value, we never see the custom label for this null value
Solution
Add
displayNull
prop in NullableBooleanInput to allow it to display a custom null labelIt simply override needed TextField props for this behaviour
Documentation