Kritika Kajale

Kritika Kajale

  • 1.8k
  • 107
  • 16.3k

showing value to people picker control

Jun 18 2019 12:02 PM
In spfx project with react framework,I used a pnp js peoplepicker in a form. In edit form, I want to show the already stored value of peoplepicker. How can be this acheived?(I tried using 'defaultUsers' attribute but didn't work)
On form load, I want to fetch the value of Person field and load it into the pnp js' people picker.I am able to get the value of Person field but I am stuck in showing that value to people picker control.

Brought to you by: JavaScript SDK for Bold BI dashboard and analytics embedding. Free trial.

Answers (3)