-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Dropdown value/defaultValue boolean #2564
Comments
As you can see here, the type of |
I saw this file and I googled a bit but could not find a valid reason for no boolean... Maybe anyone from the core team knows better? |
I see... let’s wait for the maintainers, they should know something about it |
This is due to an old artifact, a hidden select element. See #2572 for the fix. Note, this is just a warning and can be safely ignored in your app for now. We'll merge and ship the fix soon to rid the nuisance. |
Sorry to comment on a closed issue and thanks for the quick fix but
A member of the react core team and creator of CRA/Redux wants to move the community to a different approach: facebook/react#10633
|
Steps
Have a Dropdown with following possible options for value/defaultValue:
Expected Result
It should show no warning.
Actual Result
It shows a warning
Warning: Failed prop type: Invalid prop value supplied to Dropdown.
Version
0.78.2
Testcase
https://codesandbox.io/s/9qoymkzqp4
The text was updated successfully, but these errors were encountered: