IListFormFieldRendererProps
@spartanfx/react / spfx / IListFormFieldRendererProps
Interface: IListFormFieldRendererProps
Props passed to a field renderer component. Provides metadata, form context, and interaction flags.
Extends
ICommonProps
Extended by
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
controlProps? | any | Props passed directly to the underlying field control. | ICommonProps.controlProps |
disabled? | boolean | Whether the field is disabled. Overrides form-level settings. | ICommonProps.disabled |
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. | - |
onChange? | (newValue, oldValue?) => void | Optional callback triggered when the field value changes. | ICommonProps.onChange |
readonly? | boolean | If true, renders the field in readonly mode without user interaction. | ICommonProps.readonly |
required? | boolean | Whether the field is required. | ICommonProps.required |