Skip to content

XcFormLabel

PatrickVonMassow-GIP edited this page Aug 19, 2024 · 2 revisions

Name

XcFormLabel

Description

An XcFormLabel is label to be used within forms.

Labels

Hints

This component can be used for standalone labels, as well as via an attribute in other form components, see example implementation.

Style

The standalone variant and the attribute variant are visually nearly identical. This helps to make the GUI look uniformly, e. g. when the element to be labeled is used within a *ngFor loop. However, standalone labels don't change color when being selected.

Example Implementation

Standalone usage

<xc-form-label>Firmware Images</xc-form-label>

As an attribute in a form component

<xc-form-input label="Name"></xc-form-input>
Clone this wiki locally