Skip to content

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

Closed

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.

Activity

  1. cee-chen commented on Feb 1, 2023

    @cee-chen
    Contributor

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

  2. self-assigned this
    on Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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