Whether the appointment picker can be closed.
Regarding displayMode
:
displayMode
= disabled
/ read-only
, a single input with the
currently selected slot (if any) is shown; regardless of closable.false
and displayMode
= open
/ "close", the picker is always shown.true
and displayMode
= open
, the picker with the calendar is shown.true
and displayMode
= close
, a single input with the
currently selected slot (if any) is shown.The date format to use for displaying dates. Currently, this is the format as used by JQueryUI datepicker.
The date time format to use for displaying a date with a time. Use %1
for the
date and %2
for the time.
The list of long day names, starting from Sunday, for use as requested via the dateFormat option.
The list of very short day names, starting from Sunday, for use as column headers within the appointment picker.
The list of abbreviated day names, starting from Sunday, for use as requested via the dateFormat option.
The day at which a week should be considered to start. This affects e.g. the columns of the calendar.
The list of month names, starting from January, for use as requested via the dateFormat option.
The list of abbreviated month names, starting from January, for use as requested via the dateFormat option.
Whether to show the capacity for each slot as well, in addition to the start time.
Whether to show the button to clear the selected slot.
Whether to show the end time for each slot as well, in addition to the start time.
The text to use for indicating the capacity of a slot. Use the
placeholder %1
to insert the capacity.
Text to show for the button to close the appointment picker (only when the picker is opened).
The text for the button to switch to the next month.
The text to show when the selected date has no available free slots. Use the placeholder `%1 to insert the date.
The text to show when no slot is selected (when a slot is selected, the date and time is shown).
The text to show when the picker is closed and no appointment is selected.
Text to show for the button to open the appointment picker (only when the picker is closed).
The text for the button to switch to the previous month.
The text to use when a slot is selected that is not available.
The text for the header that indicates the time zone.
The text to use when a slot is selected that is not available.
The text to show for the button to unselect the selected slot.
Options for the appointment picker, a part of the state that represents basic settings that control what parts of the UI are show or what texts are displayed.