ILabel
Field name in the form.
Examples
Required field label with inline display
const emailLabel: ILabel = {
text: "Email Address",
isRequired: true,
error: false,
title: "Enter your email address",
htmlFor: "email-input",
display: "flex"
}
Error state label with truncation and block display
const longFieldLabel: ILabel = {
text: "Document Processing Configuration Settings",
isRequired: false,
error: true,
truncate: true,
title: "Configure document processing settings",
htmlFor: "doc-settings",
display: "block"
}