Skip to main content
Version: 2.1.4

IPeoplePickerProps

3p-core v2.1.4


3p-core / IPeoplePickerProps

Interface: IPeoplePickerProps

Props for the PeoplePicker component.

Properties

PropertyTypeDescription
className?stringOptional CSS class to apply to the root picker container.
disabled?booleanDisables interaction with the picker when set to true.
filterGroupId?numberOptional SharePoint group ID to filter user results.
inputProps?IInputPropsOptional overrides for the input element props (e.g., placeholder, ARIA attributes).
maximumSuggestion?numberMaximum number of suggestions to display in the dropdown. Default 5
selectedUsersIPeoplePickerUser[]Array of currently selected users.
selectionLimit?numberMaximum number of users that can be selected. Default 1000
setSelectedUsers(users) => voidCallback to update selected users when the picker selection changes.
spSPFIPnPjs SPFI instance for interacting with the SharePoint REST API.
webPartContextWebPartContextSPFx web part context used to determine the current site and resolve user photo URLs.