fields:
event_date:
type: date
label:
en: Select the event date
de: Wählen Sie das Veranstaltungsdatum
min: today
max: +6months
required: true
| Name | Type | Default | Description |
|---|---|---|---|
| aria |
string
|
– |
Optional aria label for better accessibility. |
| autofocus |
bool
|
false
|
Set autofocus on field. |
| error |
string
| array
|
– |
Costum error message for translation or customization. |
| help |
string
| array
|
– |
Optional help text below the field |
| label |
string
| array
|
– |
The field label can be set as string or associative array with translations |
| max |
string
|
– |
Defines the latest selectable date. Accepts specific dates ( |
| min |
string
|
– |
Defines the earliest selectable date. Accepts specific dates ( |
| placeholder |
string
| array
|
– |
Optional placeholder value that will be shown when the field is empty. |
| required |
bool
|
– |
Defines whether the field is mandatory for form submission. |
| title |
string
| array
|
– |
Tooltip displayed when the user hovers over the field (supports multilingual configurations). |
| width |
string
|
1/1
|
The width of the field in the 12 columns field grid. |
The date field automatically enforces the following rules:
min: If a min value is defined, the selected date cannot be earlier than the specified minimum.max: If a max value is defined, the selected date cannot be later than the specified maximum.