-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
silently setting select doesn't pass notification to dropdown #869
Comments
I could not reproduce this, it worked for both silent and active change handlers. simplescreenrecorder-2023-10-30_10.56.16.mp4 |
This code demos the problem:
you can also find a fully functional demo at my test repo: https://github.com/howudodat/domtest NB: switch to select_test branch |
Here's a video to go with the code. You'll notice that the value shows USA, Brazil and India selected. But the dropdown does not. Also in order to de-select Brazil, I had to do it twice. sorry the pointer is not visible. I'll go find another screen recorder tool that shows the pointer and update the video Screencast.mp4 |
Describe the bug
There are times you may want to silently set a select or multi-select (ie: setting default parameters) without trigger change handlers. Doing so sets the value in the textbox but does not pass the selection to the dropdown. It also results in the user needing to select the item twice in order to de-select it.
To Reproduce
see code below,
Expected behavior
The dropdown should also receive notice that the item was selected
Screenshots

Code
The text was updated successfully, but these errors were encountered: