Add selectionLimit to MultiSelect #1239
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
I'm submitting a ... (check one with "x")
Feature request:
In the
<Multiselect>
Vue component, it would be useful to be able to set a max number of selections per group. The groups aspect is already implemented so if this could be combined with a maximum per group, it opens it up to a lot of different possibilities.My use case would be to be able to select 1 option from one group, and then have a second group with only 1 item, thus it means you can have a combination of any of the first, together with a toggle flag (the single option from the second group).
Examples:
Group1Option1 + [ empty ]
Group1Option1 + Group2Option1
Group1Option2 + Group2Option1
Group1Option3 + Group2Option1
Group1Option2 + [ empty ]
A similar request was implemented for the other libraries:
Would be great if this configurability can be added to PrimeVue as well.
The text was updated successfully, but these errors were encountered: