Skip to content

DatePicker

DatePicker element is an input with date type.

example
<input type="date">

TODO dodać screen jak to wygląda, gdy już konfigurator bedzie gotowy

Build-in Validators

Element validates if given value is date in format YYYY-mm-dd.

Available Validators

Element does not have any available validators.

Relations Support

Element does not support relations between elements.

Configuration output schema

schema
{
  "<element_type>" : "datePicker",
  "<element_name>" : string,
  "<element_label>" : string,
  "<element_labelDescription>" : string,
  "<element_isRequired>" : bool,
  "<element_isHidden>" : bool,
  "<element_defaultValue>" : string
}
example
{
  "type" : "datePicker",
  "name" : "date",
  "label" : "Pick date",
  "isRequired" : true,
  "isHidden" : false,
  "defaultValue" : "2023-10-23"
}