multiselect icon indicating copy to clipboard operation
multiselect copied to clipboard

Issue repopulating multiselect when value is set to object.

Open XPAULUSX opened this issue 2 years ago • 0 comments

Version 2.5.6 Vue 3

Hi, i've found an issue when setting the multiselect component up with values which are objects in tag mode.

In my screenshot below you can see, I have a multiselect selected values configured to an object, with "label" being used to display relevant names within the tags.

image

When it comes to repopulating this control using v-model I see the following:

image

Looking at the markup, it looks obvious that the selected values are being used to populate tag id attributes, which is why it fails to repopulate correctly and is instead, selecting first in the list each time.

image

I'd like to be able to set the value to an object for my project, but understand a refactor may be required my end if this is not desired usability?

Any help appreciated, thanks.

XPAULUSX avatar Oct 14 '22 14:10 XPAULUSX