You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we attempted to add multiple users with the same name (Charlotte Coker was out test for this as there are 3 different users set up with her name) it fails to surface any user after the first when you search:
When we search the user (Charlotte) initially all three user accounts display in the search result but after selecting one and starting to search for the second no more return (as screenshotted)
To Reproduce
Steps to reproduce the behaviour:
Go to Azure > Azure Active Directory (AAD) > Users
Add three accounts with the same names and different email addresses, for example:
Open or create a simple webpart hosting a PeoplePicker control with the following properties"
<PeoplePicker
context={this.props.context}
titleText="People Picker"
personSelectionLimit={200}
showtooltip={true}
onChange={this._getPeoplePickerItems}
showHiddenInUI={false}
principalTypes={[PrincipalType.User, PrincipalType.SharePointGroup, PrincipalType.SecurityGroup]}
resolveDelay={1000} />
Expected behavior
I would like to see two or more John Smiths added to the field.
Suggested Fix
I understand that displaying three [John Smiths] [John Smiths] [John Smiths] will introduce another issue. Which [John Smiths] am I looking at. I currently see two options:
sionjlewis
changed the title
[BUG] PeoplePicker won't accept multiple users with the same name
[BUG] PeoplePicker won't accept Multiple Users with the same name
Aug 2, 2023
Wow! This is a good catch and was definitely not in our test cases! I appreciate you logging the bug! We'll add it to the scope of our current sprint and see if we can fix it. Adding @yejuntak for design ideas around the multiple users dilemma (what do we show if 2 users with the same name are displayed).
It's interesting as this is a problem we ourselves have at Microsoft so I'd consider this one a P0. Thanks!
We just found that you are not using the MGT people picker :) You are using the SPFx one. Please create the issue over there as we do not own this library. https://github.com/pnp/sp-dev-fx-controls-react
Bug Description
When we attempted to add multiple users with the same name (Charlotte Coker was out test for this as there are 3 different users set up with her name) it fails to surface any user after the first when you search:
When we search the user (Charlotte) initially all three user accounts display in the search result but after selecting one and starting to search for the second no more return (as screenshotted)
To Reproduce
Steps to reproduce the behaviour:
<PeoplePicker
context={this.props.context}
titleText="People Picker"
personSelectionLimit={200}
showtooltip={true}
onChange={this._getPeoplePickerItems}
showHiddenInUI={false}
principalTypes={[PrincipalType.User, PrincipalType.SharePointGroup, PrincipalType.SecurityGroup]}
resolveDelay={1000} />
Expected behavior
I would like to see two or more John Smiths added to the field.
Suggested Fix
I understand that displaying three [John Smiths] [John Smiths] [John Smiths] will introduce another issue. Which [John Smiths] am I looking at. I currently see two options:
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: