Option

@Serializable
data class Option(val hint: String? = null, val label: String, val required: Boolean? = null, val value: String)(source)

Constructors

Link copied to clipboard
constructor(hint: String? = null, label: String, required: Boolean? = null, value: String)

Properties

Link copied to clipboard
val hint: String? = null

The text displayed directly under the select field’s label

Link copied to clipboard

The text displayed on the select list item

Link copied to clipboard
val required: Boolean? = null

Whether the field is required for form submission

Link copied to clipboard

The value to be stored as meta-data