-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fix: reset input on init so default value is displayed #3881
Conversation
Sorry. My editor has some defaults that are different than the codebase that I didn't notice until I opened the PR. |
@coder2000 can you revert your formatting changes so it's possible to review this? This bug has been killing me but it took me forever to figure out what actually changed in this PR. |
Done. |
fixed and added tests, thanks! |
Currently when setting a default value for the combobox it isn't displayed right away. You would have to open and close it before the display value would be visible. This will reset the input as part of the init so the value is displayed right away.