pnp / pnp/sp-dev-fx-controls-react
[PeoplePicker] Different group with similar name is getting selected on default selected
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 433
- Forks
- 418
- Avg merge
- 5d 6m
- Merged PRs (30d)
- 19
Description
I am using the People Picker control from @pnp/spfx-controls-react.
There is an API being posted internally "/_api/SP.UI.ApplicationPages.ClientPeoplePickerWebServiceInterface.clientPeoplePickerSearchUser".
When I pass the name of a group, it returns results from a different group with a similar name — not the exact one I specified.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the PeoplePicker control's default-selected handling and its call to the clientPeoplePickerSearchUser API. Reproduce the similar-name group case, then verify that the exact group specified is selected rather than the returned group with a similar name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100