Comments (7)
Hello @NishkalankBezawada, I am also facing the same issue. Please find below, the implementation in my code. It works fine when I try to search by upn (Akshat.agarwal) or "agarwal, akshat" but it fails to provide any results when I search for "Akshat Agarwal"
Thanks!
from sp-dev-fx-controls-react.
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
from sp-dev-fx-controls-react.
Thank you for submitting your first issue to this project.
from sp-dev-fx-controls-react.
Hello @Igli1994
Could you please share the code synopsis on how you have defined PeoplePicker control.
Thanks,
Nishkalank
from sp-dev-fx-controls-react.
Hi @akshataggrwal & @Igli1994,
I tried on my side with the provided code snippet, without encountering any trouble, whether I search by UPN or full name (both first and last name).
May I ask to both of you to check the following:
- Does the native People Picker in a Person field behaves correctly if you try to search by full name? (even if I know that it's not querying the same API, just to ensure)
- What's the network trace when you're querying the PnP Controls' People Picker with both working and malfunctioning input?
- Meaning what's inside the
_api/SP.UI.ApplicationPages.ClientPeoplePickerWebServiceInterface.clientPeoplePickerSearchUser
call, both payload and return
- Meaning what's inside the
from sp-dev-fx-controls-react.
Hi @michaelmaillot,
Upon inspecting the OOB SPO people picker field(which work correctly), it appears to be using the same API(/_api/SP.UI.ApplicationPages.ClientPeoplePickerWebServiceInterface.clientPeoplePickerSearchUser), with the inclusion of an additional parameter called 'UseSubstrateSearch.' and that is the only difference between the two queries.
However, I've found limited documentation on this parameter.
Related - #1534
from sp-dev-fx-controls-react.
As I'm not able to repro your issue and as I agree that there's no documentation around this API, may I suggest you to run the Controls locally, udpate the searchTenant method by including this UseSubstrateSearch
and test the PeoplePicker control with the ControlsTest
webpart, provided in the repo.
from sp-dev-fx-controls-react.
Related Issues (20)
- [DynamicForm] Issue when loading data from TaxonomyFieldTypeMulti, `results` sub-array appears randomly HOT 1
- [Dynamic Form][3.17] Required Field Validation won't work HOT 1
- Module not found - Wrong @fluentui imports cause webpack build errors HOT 8
- FilePicker can't browse "Your organisation" tab when used in webpart on the root/home SharePoint site HOT 1
- SitePicker, ListPicker & FieldPicker occasionally show options in background when using it in a dialog HOT 7
- PnP controls throwing error in SPFx webpart created using Teams Toolkit. HOT 1
- [Dynamic Form] Always Show Required Field Validation Error In "FormDisplayMode.Edit" Mode HOT 1
- DateTimePicker date selection resets page position HOT 2
- FilePicker: unable to browse through organization assets library when located on root site HOT 1
- How to use OnRenderRow property of ListView control? Can you please provide an example? HOT 5
- IViewField's render function changing passed array in items of ListView control into different properties, please see images. HOT 2
- [Dynamic Form] Cannot read properties of undefined (reading 'sections') HOT 2
- [Dynamic Form] Implement @class extensibility for DynamicForm and DynamicField, add onPreRender delegate. HOT 1
- [Dynamic Form] Implement Attachments functionality HOT 1
- [Dynamic Forms] Implement Comments functionality HOT 1
- [Dynamic Field] Implement Radio Buttons for choice fields
- LivePersona does not show hover in Teams Mobile HOT 2
- Dynamic Form - enable/disable save button HOT 2
- Richtextbox editor control HOT 2
- Dynamic Forms /layouts/15 404 error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sp-dev-fx-controls-react.