label

Optional

Type: string (static text, a format string or the return value of a JS/TS function)

Default: Unset | data model field label

Text to display above the component. In the case of buttons, this text will display inside the button.

Example - label on a text-input

main.view.xml
<var name="job_name" type="text"/>

<text-input bind="job_name" label="Job name" />

Last updated