ListFormCascadingLookup
3p-core / ListFormCascadingLookup
Variable: ListFormCascadingLookup
const
ListFormCascadingLookup:React.FunctionComponent
<IListFormFieldCascadingLookupProps
>
ListFormCascadingLookup is a React component that renders a SharePoint Lookup field with cascading and search support.
Features:
- Supports multi-select and single-select SharePoint lookup fields
- Dynamically loads options based on a related (cascading) field's selected value
- Optionally restricts values based on
allowedValues
- Uses Fluent UI Dropdown with support for "Select All", search, and custom options
- Handles paging via CAML query when querying SharePoint lists
Param
Component properties of type IListFormFieldCascadingLookupProps
Returns
A rendered dropdown or spinner, depending on loading state
Remarks
Useful when implementing dependent lookup fields in SharePoint custom forms.