Skip to main content
Version: 1.0.0

IListFormLabelProps

@spartanfx/react v1.0.0


@spartanfx/react / IListFormLabelProps

Interface: IListFormLabelProps

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

Properties

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.
onRenderTooltipContent?() => ReactElementOptional custom tooltip content renderer. Falls back to the SharePoint field's description if not provided.
required?booleanMarks the field as required visually (adds a red asterisk).