align-label

Version compatibility

align-label was introduced in version 4.86.1 of the JourneyApps Runtime.

Optional

Type: center | left | right

Default: left

Specify the alignment of the componentโ€™s label and modifier-text where available.

Example - align-label on a text-input

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

<text-input label="Password" bind="password" align-label="right" modifier-text="Please provide a strong password"/>

Last updated