vue-multiselect single select with tag option

时间:2019-04-08 13:59:12

标签: vue-multiselect

Anyone knows if it is possible to set vue-multiselect component with a prop :multiple="false" and still have a selection appear as a tag.

I have tried adding tag slot but it is not working.

Searching this all over the net and can't make it work.

Thanks

1 个答案:

答案 0 :(得分:0)

请尝试:max = 1

您始终可以参考API: https://vue-multiselect.js.org/#sub-props