Skip to content

[BUG][MultiSelect] v-model does not clear the values when the data is asigned to empty array #539

Open
@zdravkov

Description

@zdravkov

Describe the bug
v-model does not clear the values when the data is asigned to empty array

To Reproduce
Steps to reproduce the behavior:

https://stackblitz.com/edit/tijjnq-fvdw1y?file=src%2Fmain.vue
select two items in the v-model multiselect
click the clear button
open again the v-model multiselect

Expected behavior
The values in the multiselect are not selected

Screenshots
The values are still selected when the dropdown opens again

Browser

  • OS: [for example, iOS]
  • Browser [for example, Chrome, Safari]
  • Version [for example, 22]

Additional context
It is working correctly when we are using value/change multiselect

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions