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

Search bar, multiSelect:false for field_value_selection tosses all values when trying to select a new one #6569

Closed
andrew-moldovan opened this issue Feb 1, 2023 · 1 comment · Fixed by #6577
Assignees
Labels

Comments

@andrew-moldovan
Copy link

I've reproduced this on the documentation page. Go to src-docs/src/views/search_bar/search_bar.js and do multiSelect: false, for the tag field. In the UI, pick a tag see that it's correctly working. Then pick another tag and instead of replacing the original value with this new one, the component just tosses the old value and the new value, leaving you with nothing selected.

This is almost certainly a regression because we've been using this component the Cloud Deployments List page for years and it would just grab the new value instead of tossing both.

@cee-chen
Copy link
Contributor

cee-chen commented Feb 1, 2023

I can repro, and this was also reported in #6540. I'll try and prioritize a fix this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants