diff --git a/docs/documentation/docs/controls/PeoplePicker.md b/docs/documentation/docs/controls/PeoplePicker.md index 0eae79b8e..783d22931 100644 --- a/docs/documentation/docs/controls/PeoplePicker.md +++ b/docs/documentation/docs/controls/PeoplePicker.md @@ -35,13 +35,13 @@ import { PeoplePicker, PrincipalType } from "@pnp/spfx-controls-react/lib/People showtooltip={true} isRequired={true} disabled={true} - selectedItems={this._getPeoplePickerItems} + onChange={this._getPeoplePickerItems} showHiddenInUI={false} principalTypes={[PrincipalType.User]} resolveDelay={1000} /> ``` -- With the `selectedItems` property you can get the selected People in the Peoplepicker : +- With the `onChange` property you can get the selected People in the `PeoplePicker` : ```typescript private _getPeoplePickerItems(items: any[]) {