field.date

A component for entering the date and time in the desired format and range.

You can set a list of dates that the user cannot select.

Component properties

NameTypeDescription
type*"field.date"

Set component type

data*writable

Data with values that will be processed or changed.

labelstring

Label above the component.

blockListarray

List of dates that the user cannot select.

blockList[]string

Date that the user cannot select.

format*string

Format of the date entered by the user:

  • date-time — date and time.
  • date — date only.
hintstring

Hint text.

maxstring

The latest date and time in the YYYY-MM-DD hh:mm format that the user can select. Where:

  • YYYY is the year.
  • MM is the month.
  • DD is the day.
  • hh is the time in hours.
  • mm is the time in minutes.
minstring

The earliest date and time in the YYYY-MM-DD hh:mm format that the user can select. Where:

  • YYYY is the year.
  • MM is the month.
  • DD is the day.
  • hh is the time in hours.
  • mm is the time in minutes.
placeholderstring

A semi-transparent label that is shown in the box when it is empty.

validationcondition

Validation based on condition.