-
Notifications
You must be signed in to change notification settings - Fork 130
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
Icon in initValue instead of a string #120
Comments
The warning should be a simple fix. The propType needs to change to accept either a string or object. Looking through the code, I'm surprised that an icon works for |
This is an example... const FieldPickerCategoryRecipe = props => {
} |
I see, a All that needs to be changed is the propType for ... to
... and the Readme updated to show |
What is a PR? I don't understand very well what you mean ... |
Fork this project, make the changes to the code & Readme, then create a pull request. |
Would it be possible to set an icon as initialValue? A few months ago, thanks to your help, I was able to put it in the drop-down list but now I also need it in initValue. It works but an warning appears...
Warning: Failed prop type: Invalid prop
initValue
of typeobject
supplied toModalSelector
, expectedstring
.The text was updated successfully, but these errors were encountered: