IListFormFieldCascadingLookupProps
@spartanfx/react v1.0.1
@spartanfx/react / IListFormFieldCascadingLookupProps
Interface: IListFormFieldCascadingLookupProps
Props for the ListFormCascadingLookup component.
This component renders a dynamic, optionally searchable, cascading lookup field
in a SharePoint list form, supporting multi-select, filtering, and value constraints.
Extends
Properties
| Property | Type | Description |
|---|
allowedValues? | string[] | If provided, restricts lookup options to items containing these allowed string values. |
canSelectAll? | boolean | Enables a "Select All" checkbox in multi-select mode. |
cascadingFieldInternalName? | string | Internal name of the field this lookup cascades from. Used to filter lookup results. |
inlineLabel? | boolean | Displays the label inline with the dropdown. |
labelWidth? | string | Custom width to apply to the label, useful when inlineLabel is true. |
lookupFieldInternalName? | string | Internal name of the lookup field to use for cascading filtering (e.g., the lookup target's field). |
maxOptions? | number | Maximum number of options to show without search; a notice is shown when limit is exceeded. |
maxSelection? | number | Maximum number of items that can be selected in multi-select mode. If not set, allows unlimited selection. |
options? | any[] | Optional custom options to be used instead of querying the list. |
withSearch? | boolean | Enables a search box above the dropdown options for filtering. |