Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with PeopleSearchService and @pnp/spfx-controls-react/lib/PeoplePicker #1822

Open
RobertSiE opened this issue May 27, 2024 · 4 comments

Comments

@RobertSiE
Copy link

Category

[ ] Enhancement

[ x] Bug

[ ] Question

Version

Please specify what version of the library you are using: [3.18.0]

Expected / Desired Behavior / Question

After creating SPFx webpart (1.19.0) with PnP react controls and using PeoplePicker, the component does not work and I receive an error
image

Observed Behavior

It works without error on SPFx (1.17.2) and PnP react controls 3.16

Steps to Reproduce

create react spfx webpart and install latest (3.18) pnp controls react with people picker and try to use it

Thanks!

Copy link

Thank you for submitting your first issue to this project.

@aplaxas
Copy link

aplaxas commented Jun 24, 2024

I met same issue on SPFx(1.19.0) with react controls(3.18.1) but working with controls(3.12.0)
spfx 1.19.0
[email protected] fail bundle
[email protected] success bundle, working
[email protected] success bundle, working
[email protected] success bundle, working
[email protected] success bundle, working
[email protected] fail

spfx 1.18.2
[email protected] success bundle, working
[email protected] success bundle, working
[email protected] success bundle, PeopleSearchService::searchTenant: error occured while fetching the users.
[email protected] success bundle, PeopleSearchService::searchTenant: error occured while fetching the users.

@RobertSiE
Copy link
Author

Hi @aplaxas, thanks downgrade to 3.12.0 works

@pcindywong
Copy link

Downgraded to 3.15.0 to fix the issue (using SPFx 1.19.0), but I need resultFilter feature that was introduced in 3.17.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants