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
Describe the bug
According to the docs, the peopleQueries should have a string array of email addresses like [ "user1@someDomain.onmicrosoft.com", "user2@someDomain.onmicrosoft.com", "user3@someDomain.onmicrosoft.com", ]
When it is used in the HTML like so: <People peopleQueries={ the stateVar with string array of email addresses } It does not show anything.
I tried to use fallbackDetails with an array of [ { mail: "user1@someDomain.onmicrosoft.com", }, { mail: "user2@someDomain.onmicrosoft.com", }, { mail: "user3@someDomain.onmicrosoft.com", }, ]
I got the control to show all users of the tenant. If the wrong type is passed to it it errors with error see below in screenshots
Expected behavior
The <People component should show avatars of the selected emails in a string array.
Screenshots
Environment (please complete the following information):
OS: windows 11
Browser [edge]
Framework [react]
Context [SharePoint]
Version [4.2.1]
Provider [SharePoint) Additional context
Using <Person in a map of the same array of email addresses, works fine. But <People is more suitable for the app.
Thank you
The text was updated successfully, but these errors were encountered:
Describe the bug
According to the docs, the peopleQueries should have a string array of email addresses like
[ "user1@someDomain.onmicrosoft.com", "user2@someDomain.onmicrosoft.com", "user3@someDomain.onmicrosoft.com", ]
When it is used in the HTML like so:
<People peopleQueries={ the stateVar with string array of email addresses }
It does not show anything.I tried to use fallbackDetails with an array of
[ { mail: "user1@someDomain.onmicrosoft.com", }, { mail: "user2@someDomain.onmicrosoft.com", }, { mail: "user3@someDomain.onmicrosoft.com", }, ]
I got the control to show all users of the tenant. If the wrong type is passed to it it errors with error see below in screenshots
Expected behavior
The <People component should show avatars of the selected emails in a string array.
Screenshots
Environment (please complete the following information):
Additional context
Using <Person in a map of the same array of email addresses, works fine. But <People is more suitable for the app.
Thank you
The text was updated successfully, but these errors were encountered: