You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Observed Behavior
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.
The text was updated successfully, but these errors were encountered:
Category
Version 1.9.0
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.
Observed Behavior
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:
e.g.
PropertyFieldPeoplePicker('securityGroups', { label: 'NO Duplicates, Multi-select, PrincipalType.Security', initialData: this.properties.securityGroups, allowDuplicate: false, multiSelect: true, principalType: [PrincipalType.Security], onPropertyChange: this.onPropertyPaneFieldChanged, context: this.context, properties: this.properties, onGetErrorMessage: null, deferredValidationTime: 0, key: 'securityGroupsFieldId' })
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.
The text was updated successfully, but these errors were encountered: