Skip to content

React PeoplePicker with groupId={filterDPC} fails on any transitive Search (Not Found) #3258

Description

@Ofer-Gal

Describe the bug
When not adding groupId property, the search works fine more or less.
image
When using with groupId property

             <PeoplePicker selectionMode="single" 
                    type='person' userType='user'
                    showMax={40} transitiveSearch={true} groupId={filterDPC} 
                    selectionChanged={onuserSelectionChanged}
              />

The list shows only people of said group but all searches fail.
image
image

Steps to reproduce the behavior:
Just use the code with valid groupId property

Expected behavior
The above code should find users with search text included in the name or email.
Screenshots
See above

Environment (please complete the following information):

  • OS: [windows]
  • Browser [edge, chrome]
  • Framework [react]
  • Context [SharePoint ]
  • Version [4.2.3]
  • Provider [SharePoint in SPFX]
    if (!Providers.globalProvider) {
      Providers.globalProvider = new SharePointProvider(this.context);
    }

Great product
Thank you

BTW I tested your example in https://mgt.dev/?path=/story/components-mgt-people-picker-properties--group-id and it has the same issue. 😓

Metadata

Metadata

Type

No type

Projects

Status
Done ✔️

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions