vue-select
vue-select copied to clipboard
selected-option-container requires 'code' to be set, documentation missing
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}))