This sample demonstrates the maximum selection limit functionalities with checkbox of the MultiSelect. MultiSelect value can set restrictions based on the maximum selection length that can be selected.
The MultiSelect has built-in support to limit the value selected in Multiselect component, when the
maximumSelectionLength property is set as 3, maximum of only 3 value will be selected in the MultiSelect.
The selection limit sample illustrates using the countries data.