Layout
FormLayout
Definition
Arranges controls with consistent form spacing.
Usage
Use FormLayout around controls that own their labels and validation state.
Attributes
direction. vertical, horizontal, or horizontal-labels.
Children
Form controls such as TextInput, TextArea, NumberInput, Selector, CheckboxInput, Switch, and Slider.
Example
xml<FormLayout direction="vertical"><TextInput label="Title" value="$form.title" /><TextArea label="Notes" value="$form.notes" /></FormLayout>