vue-select icon indicating copy to clipboard operation
vue-select copied to clipboard

selected-option-container requires 'code' to be set, documentation missing

Open stitch opened this issue 2 years ago • 0 comments

I found that the deselect method in selected-option-container only works when the code is also set per object. I was filling the values with a list of strings, so the labels rendered, but the deselect feature did not work.

I ended up doing the following: this.available_tags = response.data.map(item => ({code: item, label: item}))

stitch avatar Oct 27 '21 11:10 stitch