Replies: 1 comment
-
Tracked in #2692 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm currently using mgt-people-picker from version of mgt:
We have a use case where we need to customize/hide the selected people, including the X that removes the person. Essentially leaving the selection empty all the time and using the onChange to capture the people and display elsewhere.
I found this section on overriding protected renders:
https://learn.microsoft.com/en-us/graph/toolkit/components/people-picker#extend-for-more-control
But there's no documentation on how to use it, particularly in a react typescript setup?
I would think overriding renderSelectedPeople should do the trick.
Any advice on how to use them or go another route to hide a piece of the component, such as the selected people?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions