Field types / Datetime
Note: You are currently reading the documentation for Bolt 2.2. Looking for the documentation for Bolt 5.2 instead?
Datetime picker widget, to select a date and a time.
Basic Configuration:¶
        eventdate:
            type: datetimeExample usage in templates:¶
{{ record.eventdate }}Options:¶
The field has a few options to change the appearance and functionality of the field.
- classset to- wideto show the field extra wide, filling out the column.
- optionscontains some options for the datetimepicker, see below for an example:
        eventdate:
            type: datetime
            options:
                datetimepicker:
                    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.