coreui/coreui-vue

Binding CMultiSelect

dkwebtec opened this issue · 5 comments

How can I bind CMultiSelect? I don't see any example. v-model doesn't work.

have u found any solution?

image

I wrote a simple wrapper arround CMultiSelect and translate it to v-model

image

I wrote a simple wrapper arround CMultiSelect and translate it to v-model

thx for ur reply, i did it this way too. but i can't show the initial tag.
e.g i wanted to edit user, and user has multiple roles in this component, so tag should show initially.

image
I wrote a simple wrapper arround CMultiSelect and translate it to v-model

thx for ur reply, i did it this way too. but i can't show the initial tag. e.g i wanted to edit user, and user has multiple roles in this component, so tag should show initially.

i'm not sure that clearly understand you. If you talking about initian = default values, try to look on next code
image

thanks brother, I understood how it works.