Skip to content
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

Elijbet/4348 fix combobox input value filtering #4404

Closed
wants to merge 33 commits into from

Conversation

Elijbet
Copy link
Contributor

@Elijbet Elijbet commented Apr 13, 2022

Related Issue: #4348

Summary

The Combobox dropdown does not properly filter the options as expected.

While filtering, the find function implements a lodash function forIn to iterate through passed in input properties. As is, it goes through all of the properties, including a property called guid. This is a longish letter string, and it’s matching almost everything typed in.

The solution here is to make a subset of the input object with only value and label properties before passing it in, so only relevant properties get to be iterated on.

Elijbet added 30 commits March 24, 2022 15:21
@github-actions github-actions bot added this to the Sprint 04/11 - 04/22 milestone Apr 13, 2022
@Elijbet Elijbet closed this Apr 13, 2022
@Elijbet Elijbet deleted the elijbet/4348-fix-combobox-input-value-filtering branch April 13, 2022 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant