Skip to content

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

@andrew-moldovan

Description

@andrew-moldovan

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions