Two more Select2 attributes are now supported
Summary
You can easily use maximum-selection-size and format-selection-too-big attributes for va-select2 in multiple mode from now on!
More information on the attributes can be found here.
Usage
<va-select2
multiple
:format-selection-too-big="formatSelectionTooBig"
:maximum-selection-size="3"
</va-select2>
methods: {
formatSelectionTooBig(size) {
return `You can select up to 3 items.`;
}
}