Comments (11)
Needs to be able to select a group from sitegroups too!
from sp-dev-fx-controls-react.
@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.
from sp-dev-fx-controls-react.
@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
from sp-dev-fx-controls-react.
Thanks @estruyf. I will go through the docs and let you know if there are any queries.
from sp-dev-fx-controls-react.
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.
from sp-dev-fx-controls-react.
Hi all, I have submitted the PR for Peoplepicker control. Please test and let me know if there are any questions or issues. Thanks.
from sp-dev-fx-controls-react.
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
from sp-dev-fx-controls-react.
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.
from sp-dev-fx-controls-react.
@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] : []}
from sp-dev-fx-controls-react.
Thanks its worked
from sp-dev-fx-controls-react.
@amolkhedekar01 Could you please share the working line of code. As I am also facing same issue. Thansk!
from sp-dev-fx-controls-react.
Related Issues (20)
- Carousel component not showing images? HOT 6
- ModernTaxonomyPicker not displaying suggestions when typing in values - "API not found" error HOT 17
- Add TermSetNavigation and also HoverReactionsBar to the test component ControlsTest.tsx HOT 4
- ListView - add new property to dynamically update current filter HOT 3
- ListItemPicker - How to get 'defaultSelectedItems' to set value HOT 2
- SPFx 1.18.x support HOT 13
- [Feature Requests] Dynamic Form - More customization options HOT 3
- [Dynamic Form] Disable issue on "fieldOverrides" field control when "onBeforeSubmit" return true HOT 4
- Dynamic Forms with TaxonomyFieldTypeMulti fields don't show HOT 2
- Build fails due to missing @iconify/react dependency after upgrade to 3.16.0 HOT 8
- Show Form Created using Form Customizer in Side Panel instead of whole page HOT 5
- DynamicForm - more than 100 lookups and date format in lookup field HOT 3
- Vertical and Horizontal Scroll Bar not always visible HOT 2
- HoverReactionBarControl.js / @fluentui/react-positioning/lib/usePositioning - Module parse failed: Unexpected token HOT 7
- TaxonomyPicker Does not allow removing existing selection When the is disabled={!dpcRequest.LockedToMe} HOT 3
- Rich Text Component - Insert image using Copy Paste HOT 3
- Rich Text - Set default font size HOT 4
- [Dynamic Form] Update Form crashes on loading, if an item has TaxonomyFieldTypeMulti field. [3.16.1] !!! HOT 21
- FilePicker - best practice for storing files (images) uploaded via SPFX? HOT 1
- Unable to install latest version due to dependency HOT 4
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.