pnp / sp-dev-fx-controls-react

Reusable React controls for SPFx solutions
https://pnp.github.io/sp-dev-fx-controls-react/
MIT License
380 stars 380 forks source link

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

Open RobertSiE opened 1 month ago

RobertSiE commented 1 month ago

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!

github-actions[bot] commented 1 month ago

Thank you for submitting your first issue to this project.

aplaxas commented 4 days ago

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 spfx-controls-react@3.16.2 fail bundle spfx-controls-react@3.12.0 success bundle, working spfx-controls-react@3.13.0 success bundle, working spfx-controls-react@3.14.0 success bundle, working spfx-controls-react@3.15.0 success bundle, working spfx-controls-react@3.16.0 fail

spfx 1.18.2 spfx-controls-react@3.16.0 success bundle, working spfx-controls-react@3.17.0 success bundle, working spfx-controls-react@3.18.0 success bundle, PeopleSearchService::searchTenant: error occured while fetching the users. spfx-controls-react@3.18.2 success bundle, PeopleSearchService::searchTenant: error occured while fetching the users.

RobertSiE commented 2 days ago

Hi @aplaxas, thanks downgrade to 3.12.0 works