MaestroThe UI design product. | Form Builder | 21.05 This feature was updated in 21.05.
Maestro comes with the Date Picker component, which is an input field widget, that lets form users to type or select a date and time either directly in the text field or in the calendar popup. The Date Picker can display past, present, or future dates. It also supports both left-to-right (LTR) and right-to-left (RTL) languages.
The component looks like this on a rendered form.
Use the Masked Date Input component if you need to enforce a specific date input pattern or hide some input.
The following properties are available to the Date Picker component:
Text dateFormat
Text
dateDisplayFormat
Option
displayMode
Label | Value |
---|---|
Date Only | date |
Full Mode (Date and Time) | full |
Boolean
prefillTodaysDate
Boolean
auDateInput
The US date format is m/d/yy or m/d/yyyy.
Icon
inputIcon
Date
minDate
01/01/2017
(min) to 31/12/2017
(max).Date
maxDate
Boolean
pastDate
Boolean
futureDate
Boolean
includeToday
Text
pastDateValidationMsg
Text
pastDateIncTodayValidationMsg
Text
futureDateValidationMsg
Text
futureDateIncTodayValidationMsg
HelpText helpText
The component's accessibility (a11y) is achieved by allowing a form user to type a date into the input field.
The Date Picker icon does not need to be accessible.
Text
placeholder
MM/dd/yyyy
that the date must be entered in and the screen reader will read it out to a form user.Text
closeBtnLabel
Text
nowBtnLabel
Text
monthLabels
Text
monthShortLabels
Text
dayLabels
Next, learn about the Autocomplete Field component.