Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
PropertyFieldPeoplePicker - No suggestions returned when using Security Groups, Multi-select and NO duplicates. #90
Expected / Desired Behavior / Question
Using the PropertyFieldPeoplePicker, I have set it so that allowDuplicates is false, multiSelect is true and the principalType is PrincipalType.Security. I would expect to be able to select multiple security groups. After making a single initial selection, and then when I begin typing for a second selection, I would expect to see suggested groups.
When no groups are selected, I can being typing and get suggested security groups as expected. Once I make a selection and begin to look for a second security group I get 'No results found'. If I change the PropertyFieldPeoplePicker so that allowDuplicates is set to true (or add further PrincipalTypes), I can enter and receive suggestions for more than one security group.
Steps to Reproduce
Add a PropertyFieldPeoplePicker control to a web part project and configure it so that:
Run the project using gulp serve and then browse to the SharePoint Online Workbench _layouts/15/workbench.aspx.
Edit the web part and select a security group from the PropertyFieldPeoplePicker. Then attempt to select a second security group which you know exists.
Thanks for these controls and all your efforts, they're great.
added a commit
Sep 6, 2018
Thanks @petecuttriss for reporting this. I have fixed this bug and will be available in version