-
Notifications
You must be signed in to change notification settings - Fork 364
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
Combobox with list and both autocomplete: Fix issue with listbox not updating #1335
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is much nicer - thanks @jongund !
+1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jongund, thank you for the awesome, fast turn-around on this!! Functionally, this looks great! It passes the functional tests I specified in the issue.
@spectranaut, @smhigley, seems like it would be a good idea to have tests for this behavior as specified in issue #1332 and associated with data-test-id="standard-single-line-editing-keys". What do you think? |
@smhigley, are you available for code and test review? If we are going to change/add tests, we could break that out into a separate issue and PR to keep this one simple. |
@mcking65 I agree, I think a test should probably be added for backspace correctly updating the filter, but that can be a separate issue/PR |
Created #1345 to add regression testing for backspace. |
Fixes #1332.
Preview link for fix for listbox not properly updating using backspace (Issue 1332)
I added calls to the code that filters the options after the filter property is updated when backspace is pressed or if the length of the textbox value is less than the length of the filter property.
Review checklist