Date Time
open class DateTime(value: <Error class: unknown class>? = null, name: String? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false, init: DateTime.() -> Unit? = null)
Form field date/time chooser component.
Parameters
value
date/time input value
name
the name attribute of the generated HTML input element
format
date/time format (default YYYY-MM-DD HH:mm)
label
label text bound to the input element
rich
determines if label can contain HTML code
init
an initializer extension function
Constructors
Properties
Link copied to clipboard
Automatically open the chooser popup.
Link copied to clipboard
Days of the week that should be disabled. Multiple values should be comma separated.
Link copied to clipboard
An array of disabled dates.
Link copied to clipboard
An array of enabled dates.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Date/time month header format.
Link copied to clipboard
The placeholder for the date/time input.
Link copied to clipboard
Automatically open time component after date is selected.
Link copied to clipboard
The view date of the date/time chooser.
Link copied to clipboard
Shows date and time pickers side by side.
Link copied to clipboard
Date/time chooser toolbar placement.
Link copied to clipboard
Date/time year header format.