How can I add a limit to iView UI's Multiple select
? Here is the code snippet:
<Select
v-model="data.category"
:multiple="true"
filterable
remote
:remote-method="remoteMethod2"
:loading="loading2">
<Option v-for="(option, index) in options2" :value="option.value" :key="index">{{option.label}}</Option>
</Select>
I would like to include something like max="3"
to restrict the number of selected items.
Unfortunately, I could not find any information about this feature in the API documentation.