kvision / pl.treksoft.kvision.form.time / DateTime / <init>

<init>

(js) DateTime(value: Date? = null, name: String? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false)

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

Constructor