Package io.kvision.form.time

Full-featured date and time input components.

Types

Link copied to clipboard
open class DateTime(value: <ERROR CLASS>?, name: String?, format: String, label: String?, rich: Boolean, init: DateTime.() -> Unit?)

Form field date/time chooser component.

Link copied to clipboard
open class DateTimeInput(value: <ERROR CLASS>?, format: String, className: String?, init: DateTimeInput.() -> Unit?)

Basic date/time chooser component.

Functions

Link copied to clipboard
fun <ERROR CLASS>.dateTime(value: <ERROR CLASS>? = null, name: String? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false, init: DateTime.() -> Unit? = null): DateTime

DSL builder extension function.

Link copied to clipboard
fun <ERROR CLASS>.dateTimeInput(value: <ERROR CLASS>? = null, format: String = "YYYY-MM-DD HH:mm", className: String? = null, init: DateTimeInput.() -> Unit? = null): DateTimeInput

DSL builder extension function.