-
Notifications
You must be signed in to change notification settings - Fork 11
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
initialValue prop not working? #36
Comments
Okay, by examining the source code I found that this prop is passed through a call to Putting the passed prop value in an array resolves the issue, but this seems like it might merit a fix. Since |
I found a second issue with this, although this time I'm less sure what can be done about it. Because the dropdown has an So if I want to change the dropdown's value in response to a separate user action, there doesn't seem to be a way to do so. Is there a way to do this? Edit: I found that I can do this using a ref and the prescribed API, although this feels a bit hacky. |
Hi, I have initialValue set and it's not using it.
I even hard-coded it to
initialValue={2}
without success. Am I doing something wrong?The text was updated successfully, but these errors were encountered: