DatePickerInput

class DatePickerInput(val id: String, val label: TitleItem.DefaultTitleItem, val hintText: String? = null, val required: Boolean? = false, val dateFormat: String? = null, val startDate: String? = null, val minimumDate: String? = null, val maximumDate: String? = null) : Input

Represents a date input on a form.

Parameters

dateFormat

The string format of the date.

startDate

The initial default value for the date assigned to this input.

minimumDate

The earliest allowable date this input accepts.

maximumDate

The latest allowable date this input accepts.

Constructors

Link copied to clipboard
constructor(id: String, label: TitleItem.DefaultTitleItem, hintText: String? = null, required: Boolean? = false, dateFormat: String? = null, startDate: String? = null, minimumDate: String? = null, maximumDate: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val dateFormat: String? = null
Link copied to clipboard
val dateOrTimeFormat: String
Link copied to clipboard
val hintText: String? = null
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
val isDateTimeValue: Boolean
Link copied to clipboard
Link copied to clipboard
val maximumDate: String? = null
Link copied to clipboard
val minimumDate: String? = null
Link copied to clipboard
val required: Boolean? = false
Link copied to clipboard
Link copied to clipboard
val startDate: String? = null
Link copied to clipboard
@Transient
var value: String?

The current value of the date for this input.

Functions

Link copied to clipboard
open override fun validate(): Input.ValidationError?

Use this validation to determine if the current value for this input is valid.