@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
Property | Type | Description |
---|
fieldInternalName? | string | Internal name of the SharePoint field. If provided, the label and description will be auto-resolved from the field schema. |
invisible? | boolean | If true, the label will be visually hidden but still rendered for screen readers (accessibility). |
label? | string | Custom label text to override the SharePoint field's display name. |
onRenderTooltipContent? | () => ReactElement | Optional custom tooltip content renderer. Falls back to the SharePoint field's description if not provided. |
required? | boolean | Marks the field as required visually (adds a red asterisk). |