IListFormFieldRendererProps
@spartanfx/react v1.2.2
@spartanfx/react / spfx / IListFormFieldRendererProps
Interface: IListFormFieldRendererProps
Props passed to a field renderer component. Provides metadata, form context, and interaction flags.
Extends
Extended by
Properties
Required
| Property | Type | Description |
|---|
field | IFieldInfo | The SharePoint field definition object. |
formStateKey | string | The key used in the form state object, matching the field's internal name. |
listFormContext | IListFormContext | The full list form context for accessing state, validation, etc. |
Options
| Property | Type | Description |
|---|
disabled? | boolean | Whether the field is disabled. Overrides form-level settings. |
readonly? | boolean | If true, renders the field in readonly mode without user interaction. |
required? | boolean | Whether the field is required. |
Events & callbacks
| Property | Type | Description |
|---|
onChange? | (newValue, oldValue?) => void | Optional callback triggered when the field value changes. |
Advanced & escape hatches
| Property | Type | Description |
|---|
controlProps? | any | Props passed directly to the underlying field control. |