maxSelectedItems property
The maximum number of items that can be picked. If null, there is no limit.
If the max number is met:
- The showItemsButton will be disabled (if the item visibility is toggle).
- The search field will be disabled.
- The showed items will collapse.
Implementation
final int? maxSelectedItems;