-
Notifications
You must be signed in to change notification settings - Fork 379
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
People Picker control #19
Comments
Needs to be able to select a group from sitegroups too! |
@VesaJuvonen, has anyone started looking into this control. I had already built a similar control for people picker (Site Users only right now) using Office Fabric React in one of my recent projects. Had to go through a extended dev process to extend and program the control. Including a custom validation was really tough too. Really feel it would a help to lot of dev with this control. If possible, I would be happy to contribute that control here. Have attached screenshot from my project below. Don't know how does contribution works here. Could you please let me know. |
@AsishP feel free to contribute to the project. I'm not aware of anyone working on this functionality. This control would be a great addition. You can find more information how to contribute to the project here: https://github.com/SharePoint/sp-dev-fx-controls-react/blob/master/docs/guides/index.md |
Thanks @estruyf. I will go through the docs and let you know if there are any queries. |
Hi @estruyf , I am ready with the first version of the People picker control. Before I put up a PR, I have got a query regarding tests. I have don't any unit tests with React or SPFx yet. Is it needed for the control? If yes, could you please redirect me to the steps for the same or the framework (mocha or chai) or npm package I could use for the same. |
Hi all, I have submitted the PR for Peoplepicker control. Please test and let me know if there are any questions or issues. Thanks. |
Is there a working example for the peoplepicker control? I tried to use it and getting errors... (I'm using it in the "Use custom dialog boxes with SharePoint Framework Extensions" example: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/guidance/using-custom-dialogs-with-spfx |
I am using people picker and i need to clear people picker on button click, any solution for clear people picker on button click.(i am using SPFX react). Please let me know if anybody have solution. |
@amolkhedekar01 Better to create a new issue. This one has been closed for a long time. That said, in 1.12.0 (there was a bug previously - fixed in #234), you can pass an empty array to defaultSelectedUsers: defaultSelectedUsers={(this.state.filters.ShipmentRequestor && this.state.filters.ShipmentRequestor.length) ? [this.state.filters.ShipmentRequestor.email] : []} |
Thanks its worked |
@amolkhedekar01 Could you please share the working line of code. As I am also facing same issue. Thansk! |
Category
[x] Enhancement
[ ] Bug
[ ] Question
There is one in the poroperty pane controls, bit we need one in the webpart controls too. Need to be able to let users select from anyone , or just members of a group (like the classic one).
The text was updated successfully, but these errors were encountered: