setRequiredRange

The minimum and maximum amount of values a user can select, must not exceed SelectMenu.OPTIONS_MAX_AMOUNT.


Sets the minimum and maximum number of values the user has to select, must not exceed CheckboxGroup.OPTIONS_MAX_AMOUNT.

See also