Field types / Date
Note: You are currently reading the documentation for Bolt 2.2. Looking for the documentation for Bolt 5.2 instead?
Datepicker widget, to select a date.
Basic Configuration:¶
eventdate:
type: date
Example usage in templates:¶
{{ record.eventdate }}
Options:¶
The field has a few options to change the appearance and functionality of the field.
class
set towide
to show the field extra wide, filling out the column.options
contains some options for the datepicker, see below for an example:
eventdate:
type: date
options:
datepicker:
changeMonth: true
changeYear: true
yearRange: "-100:-0"
Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.