-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Programatically set value for Dropdown? #1302
Comments
Programmatically setting a dropdown's value works and is fully tested. There is a working example here: https://react.semantic-ui.com/modules/dropdown#remote Clicking random programmatically changes the value. If you believe there is a bug please create a repro demonstrating the bug so we can investigate further. |
I've found this link a couple times going through your issues, it seems to be broken. Might want to make them more long lasting and standardized. |
Link fixed, thanks. http vs https issue beyond my control at present. |
Can we set the options of the dropdown programatically? |
I have not found away, this is the #1 thing folks would do in programming and there is no example, we need an example that sets the options after it's created say from an HTTP Get call? |
Steps
set a new user in the redux store, and PurchaserForm gets rerendered with the new
then
value={user.id}
becomesvalue='-'
Expected Result
I expect to see "" empty text because
userOptions have
Actual Result
But it still shows the text from the previous selection
Version
0.64.3
Testcase
I think it's a bit hard to set it up
The text was updated successfully, but these errors were encountered: