IftaLabel

IftaLabel is used to create infield top aligned labels.

import { IftaLabelModule } from '@bdspark/sparkng/iftalabel';

<p-iftalabel>
    <!-- input element like InputText, InputNumber, Select, Textarea etc. -->
    <!-- label element -->
</p-iftalabel>

IftaLabel is used by wrapping the input and its label.

When the form element is invalid, the label is also highlighted.

Screen Reader

IftaLabel does not require any roles and attributes.

Keyboard Support

Component does not include any interactive elements.