ControlOptions

@Serializable
data class ControlOptions(val format: Format? = null, val orientation: Orientation? = null, val verticalSpacing: String? = null, val horizontalSpacing: String? = null, val readOnly: Boolean = false, val showMaxCounter: Boolean = false, val hasFirstLetterCapitalized: Boolean = false, val weight: Float? = null) : Options

An option for a control element.

Constructors

Link copied to clipboard
constructor(format: Format? = null, orientation: Orientation? = null, verticalSpacing: String? = null, horizontalSpacing: String? = null, readOnly: Boolean = false, showMaxCounter: Boolean = false, hasFirstLetterCapitalized: Boolean = false, weight: Float? = null)

Properties

Link copied to clipboard
val format: Format? = null

An optional format.

Link copied to clipboard

The boolean to know if the control element will have the first letter capitalized.

Link copied to clipboard

The horizontal spacing between elements.

Link copied to clipboard

An optional orientation.

Link copied to clipboard
val readOnly: Boolean = false

The boolean to know if the control element will be interactive.

Link copied to clipboard
val showMaxCounter: Boolean = false

The boolean to know if the control element will have a max counter.

Link copied to clipboard
val verticalSpacing: String? = null

The vertical spacing between elements.

Link copied to clipboard
open override val weight: Float? = null