SOLVED

How to make people picker field read only in SPFx?

Copper Contributor

I am using PnP people picker but found no solution for the same.

Guide me if you have any solutions.

1 Reply
best response confirmed by nrvrvl (Copper Contributor)
Solution

Hi @nrvrvl, there is a property named 'disabled' for the control. Have you tried using that property. I hope it should resolve your issue. Try it. I hope you are using the below.

https://pnp.github.io/sp-dev-fx-controls-react/controls/PeoplePicker/

 

Hope it helps, please like it or mark it as a solution if it resolves your clarification or issue
-Sudharsan K...

1 best response

Accepted Solutions
best response confirmed by nrvrvl (Copper Contributor)
Solution

Hi @nrvrvl, there is a property named 'disabled' for the control. Have you tried using that property. I hope it should resolve your issue. Try it. I hope you are using the below.

https://pnp.github.io/sp-dev-fx-controls-react/controls/PeoplePicker/

 

Hope it helps, please like it or mark it as a solution if it resolves your clarification or issue
-Sudharsan K...

View solution in original post