DateGalleryMaxSelectionLimitBehavior

TYPE DEFINITION

Describes all the behaviors for when the selection limit of the DateGallery is surpassed.

  1. 'circular': the first date that was selected which will be removed so the last selected date can be added without violating the limit. This basically means that the first one in is the first one out.
  2. 'error': An error is thrown whenever the limit is surpassed, the error is called the DateGallerySelectionLimitReachedError.
  3. 'ignore': Nothing happens when an date is selected and the limit is reached. The date is simply not selected, but no error is thrown.

Since 1.6.0

Union of

| "circular"
| "ignore"
| "error"