Control

@Serializable
@SerialName(value = "Control")
data class Control(val scope: String, var label: String? = null, val options: ControlOptions? = null, val elements: ImmutableList<UiSchema>? = null, val rule: Rule? = null) : UiSchema

A control element which represent a UI element in the form.

Constructors

Link copied to clipboard
constructor(scope: String, label: String? = null, options: ControlOptions? = null, elements: ImmutableList<UiSchema>? = null, rule: Rule? = null)

Properties

Link copied to clipboard
@Serializable(with = ImmutableListSerializer::class)
open override val elements: ImmutableList<UiSchema>? = null

The child elements of this layout.

Link copied to clipboard

Label for UI schema element.

Link copied to clipboard
open override val options: ControlOptions? = null

Any additional options.

Link copied to clipboard
open override val rule: Rule? = null

An optional rule.

Link copied to clipboard

The scope that determines to which part this element should be bound to.

Functions

Link copied to clipboard

Get key of the Control at the end of the path in the scope.