We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.
Hi, sorry for the big delay here I think you already solved
Hi Giuliano,
Is this solution works with SPFx 1.8.2? I See HTTPClientbatch not supported?
As far as I know should work with 1.8.2 as well
Hi Giuliano, I was trying to get get the data from the selected user in peoplepicker, but i dont know how,can you please help me?
I think that you have to make use of the onItemSelected event, once you have the user you can execute other Rest API call to grab more info:
https://developer.microsoft...
Hi Giuliano, I was trying to use this component in one of my project and i ended up getting an error saying
//Error
[SPLoaderError.loadComponentError]:
***Failed to load component "971d482d-cee6-47eb-ac2f-d8f447e218bf" (TravelRequestWebPart).
Original error: ***Failed to load entry point from component "971d482d-cee6-47eb-ac2f-d8f447e218bf" (TravelRequestWebPart).
Original error: Error loading https://component-id.invalid/971d482d-cee6-47eb-ac2f-d8f447e218bf_0.0.1
Cannot find module "OfficeUiFabricPeoplePickerStrings"
//Ends
1 ) I just ran the npm i spfx-office-ui-fabric-people-picker
2) I configured the properties for the PeoplePicker as below,
<officeuifabricpeoplepicker sphttpclient="{this.context.spHttpClient}" siteurl="{this.context.pageContext.absoluteUrl}" typepicker="{TypePicker.Compact}" principaltype="{PrincipalType.User}" numberofitems="{10}"/>
3) I was able to succesfully build the app
4 ) I ran gup serve
5) I got the above error.
Can you please guide me to fix it.
Hi, It is difficult to say but seems like that the module OfficeUiFabricPeoplePickerStrings is missing in your solution, have you renamed some module in your project?
Hi Giuliano,
Thank you for taking time to reply to my query. I somehow managed to fix it just by copying files from the solution rather than doing npm install.
Perfect ;-)
Hello,
I am unable to remove selected user from the picker. What will be the issue??
Thanks,
Bhavik Vartak
Hi,
Please can you take a look in the browser console if you receive some message error?
Hi Giuliano,
first of all thanks for this solution. I have a question. I will have multiple people pickers on my spfx webpart. Is there a way when using the onChange set the values to an array included with a propertie you pass to the function. like onChange=this._onChange.bind(this, variable)?