DatePickerInput

class DatePickerInput(id: String, label: TitleItem.DefaultTitleItem, hintText: String? = null, 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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The current value of the date for this input.

Functions

Link copied to clipboard
open override fun asInputValue(): InputValue?

Converts the input to its corresponding InputValue type

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

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