Skip to content

Two more Select2 attributes are now supported

Choose a tag to compare

@kizhaev kizhaev released this 29 May 15:26
cf472a5

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.`;
     }
}