pnp/PnP

How to set value to <PeoplePicker pnp control?

pavitrag123 opened this issue · 2 comments

I've multi step react form with People picker control. I'm able to assign the people picker selected value to state variable but when I move to next step and comeback, the people picker is not showing any value though state has value. Please let me know if there is any method available

image

Please refer this below link.

defaultSelectedUsers={this.state.PeoplePickerDefaultItems}

https://stackoverflow.com/questions/57559665/how-to-set-a-sharepoint-list-field-using-a-pnp-sp-people-picker

Please close it if you are happy with the solution