Skip to main content

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​

  • ICommonProps

Extended by​

Properties​

Required​

PropertyTypeDescription
fieldIFieldInfoThe SharePoint field definition object.
formStateKeystringThe key used in the form state object, matching the field's internal name.
listFormContextIListFormContextThe full list form context for accessing state, validation, etc.

Options​

PropertyTypeDescription
disabled?booleanWhether the field is disabled. Overrides form-level settings.
readonly?booleanIf true, renders the field in readonly mode without user interaction.
required?booleanWhether the field is required.

Events & callbacks​

PropertyTypeDescription
onChange?(newValue, oldValue?) => voidOptional callback triggered when the field value changes.

Advanced & escape hatches​

PropertyTypeDescription
controlProps?anyProps passed directly to the underlying field control.