Skip to main content
Version: 1.1.0

ComboBoxPeoplePicker

@spartanfx/react v1.1.0


@spartanfx/react / spfx / ComboBoxPeoplePicker

Variable: ComboBoxPeoplePicker

const ComboBoxPeoplePicker: React.FunctionComponent<IComboBoxPeoplePickerProps>;

ComboBoxPeoplePicker is a customizable ComboBox-based people picker for SPFx solutions. It supports single or multi-user selection, filtering by SharePoint group or user lists, and user photo rendering using Fluent UI Persona components.

Example

<ComboBoxPeoplePicker
sp={sp}
webPartContext={context}
selectedPeoples={[]}
sourceGroups={['Project Members']}
multiSelect={true}
onChange={(newVal) => console.log(newVal)}
/>