Skip to main content

IListFormLabelProps

@spartanfx/react v1.2.2


@spartanfx/react / spfx / IListFormLabelProps

Interface: IListFormLabelProps

Props for the ListFormLabel component, used to render a field label with optional tooltip and accessibility features.

Properties

Options

PropertyTypeDescription
fieldInternalName?stringInternal name of the SharePoint field. If provided, the label and description will be auto-resolved from the field schema.
invisible?booleanIf true, the label will be visually hidden but still rendered for screen readers (accessibility).
label?stringCustom label text to override the SharePoint field's display name.
required?booleanMarks the field as required visually (adds a red asterisk).

Events & callbacks

PropertyTypeDescription
onRenderTooltipContent?() => ReactElementOptional custom tooltip content renderer. Falls back to the SharePoint field's description if not provided.