field.date

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

You can set a list of dates that a Toloker can't select.

Component properties

NameTypeDescription
type*"field.date"Set component type.
data*writableData with values that will be processed or changed.
labelstringLabel above the component.
blockListarrayList of dates that a Toloker can't select.
blockList[]stringDate that a Toloker cannot select.
format*string

Format of the date entered by a Toloker:

  • date-time — date and time.
  • date — date only.
hintstringHint text.
maxstring

The latest date and time in the YYYY-MM-DD hh:mm format that a Toloker 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 a Toloker 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.
placeholderstringA semi-transparent label that is shown in the box when it is empty.
validationconditionValidation based on condition.
Contact support
Introduction
Getting started
Important tips
Useful recommendations
Working with Toloka
Projects
Pools
Tasks
Results
Project analysis
Toloka settings
Task interface
Template Builder
HTML/CSS/JS editor
Help and support
Frequently asked questionsTroubleshootingSupportGlossary