Skip to content

ff_calendar_range

thkle edited this page Jan 10, 2018 · 1 revision

Calendar Range

Props

  • calendarOptions
    • See insitu.Views.Calendar2 for available calendar options. multiselect is not available!
  • valueType
    • date/month. See insitu.Views.Forms.Fields.Calendar2.
  • format
    • default: 'DD.MM.YYYY',
  • rangeSeparator
    • default: ' - ',
  • useShortFormatIfPossible
    • default:true
    • TODO: If true, when e.g. selecting a whole month as a span, a short format will be used instead of [format][rangeSeparator][format]
  • shortFormat
    • default: 'MMM YYYY'
  • minimumRange
    • default: 0
    • Specifying the minimum days or months between begin and end. 0 means you can select the same date/month.
  • instantTriggerChange
    • default: false
    • If true, any change will instantely trigger the change callback
  • noBeginSelectionEnabled
    • default: true,
  • noEndSelectionEnabled
    • default: true,
  • noSelectionLabel
    • default: 'unbegrenzt'
  • noSelectionButtonLabel
    • default: 'unbegrenzt'
  • fromValidationErrorContent
    • default: 'Bitte ausfüllen.'
  • toValidationErrorContent
    • default: Bitte ausfüllen.'
  • autoSwitchOnSelection
    • default: true
  • deselectTriggersChange
    • default: true
  • autoClose
    • default: false
  • closeDelay
    • default: 750 (ms)
  • applySelectionOnAutoClose
    • default: true
  • filterOptions
  • selectedFilter

Clone this wiki locally