Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 758 Bytes

datetime.md

File metadata and controls

39 lines (30 loc) · 758 Bytes
title
Datetime field

Datetime field

Datetime picker widget, to select a date and a time.

Basic Configuration:

        eventdate:
            type: datetime

Example usage in templates:

{{ record.eventdate }}

Options:

The field has a few options to change the appearance and functionality of the field.

  • class set to wide to show the field extra wide, filling out the column.
  • options contains some options for the datetimepicker, see below for an example:
        eventdate:
            type: datetime
            options:
                datetimepicker:
                    changeMonth: true
                    changeYear: true
                    yearRange: "-100:-0"