Skip to content

Commit 251706e

Browse files
committed
Implement Search and Get All users for People Picker
1 parent 79846a4 commit 251706e

File tree

8 files changed

+17719
-68
lines changed

8 files changed

+17719
-68
lines changed

docs/documentation/docs/controls/PeoplePicker.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ import { PeoplePicker, PrincipalType } from "@pnp/spfx-controls-react/lib/People
3737
disabled={true}
3838
selectedItems={this._getPeoplePickerItems}
3939
showHiddenInUI={false}
40-
principleTypes={[PrincipalType.User]} />
40+
principleTypes={[PrincipalType.User]}
41+
resolveDelay={1000} />
4142
```
4243

4344
- With the `selectedItems` property you can get the selected People in the Peoplepicker :
@@ -73,6 +74,7 @@ The People picker control can be configured with the following properties:
7374
| showHiddenInUI | boolean | no | Show users which are hidden from the UI. By default these users/groups hidden for the UI will not be shown. | false |
7475
| principleTypes | PrincipleType[] | no | Define which type of data you want to retrieve: User, SharePoint groups, Security groups. Multiple are possible. | |
7576
| suggestionsLimit | number | no | Maximum number of suggestions to show in the full suggestion list. | 5 |
77+
| resolveDelay | number | no | Add delay to resolve and search users | 1000 |
7678

7779
Enum `PrincipalType`
7880

@@ -84,5 +86,6 @@ The `PrincipalType` enum can be used to specify the types of information you wan
8486
| DistributionList |
8587
| SecurityGroup |
8688
| SharePointGroup |
89+
| All |
8790

8891
![](https://telemetry.sharepointpnp.com/sp-dev-fx-controls-react/wiki/controls/PeoplePicker)

0 commit comments

Comments
 (0)