Skip to main content
Version: 2.1.4

ListFormMultiChoice

3p-core v2.1.4


3p-core / ListFormMultiChoice

Variable: ListFormMultiChoice

const ListFormMultiChoice: React.FunctionComponent<IListFormFieldRendererProps>

ListFormMultiChoice is a React component for rendering a SharePoint MultiChoice field in a list form, supporting multiple selection with a "Select All" option and visual tokens.

This component integrates with the SharePoint list form context to bind user-selected choices to the form state.

Param

Props conforming to IListFormFieldRendererProps

Returns

A Fluent UI Dropdown configured for multi-choice functionality

Remarks

  • Uses props.field.Choices to populate options.
  • Form state is updated via listFormContext.formState.set.
  • Selected choices are displayed as removable visual tokens.
  • Provides a custom "Select All" checkbox within the dropdown.