-
Notifications
You must be signed in to change notification settings - Fork 380
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
[ PeoplePicker ] Default selected items for groups #958
Labels
Comments
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible. |
a1exymoroz
pushed a commit
to a1exymoroz/sp-dev-fx-controls-react
that referenced
this issue
Jul 19, 2021
a1exymoroz
pushed a commit
to a1exymoroz/sp-dev-fx-controls-react
that referenced
this issue
Jul 19, 2021
a1exymoroz
pushed a commit
to a1exymoroz/sp-dev-fx-controls-react
that referenced
this issue
Jul 29, 2021
a1exymoroz
added a commit
to a1exymoroz/sp-dev-fx-controls-react
that referenced
this issue
Jul 29, 2021
AJIXuMuK
added a commit
that referenced
this issue
Aug 6, 2021
…LT-SELECTED-ITEMS feat/#958 Add selected items for groups
Thanks @a1exymoroz for submitting both issue and fix! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Category
[x] Bug
[x] Question
Version
Please specify what version of the library you are using: [ "@pnp/spfx-controls-react": "^3.2.1" ]
Question
Why doesn't PeoplePicker have selected items for different types?
PeoplePicker has only defaultSelectedUsers for users. But if we use different types ([PrincipalType.SecurityGroup, PrincipalType.User, PrincipalType.SharePointGroup]), I'll have problem.
Observed Behavior
If we can use different types, we have to select different types.
Steps to Reproduce
principalTypes={[PrincipalType.SecurityGroup, PrincipalType.User, PrincipalType.SharePointGroup]}
defaultSelectedUsers={[User, Sharepoint Group, Azure AD group]}
defaultSelectedUsers
, we need emails. But Sharepoint group doesn't have a email.If I use texts for
defaultSelectedUsers
, Azure AD group won't selectThanks!
The text was updated successfully, but these errors were encountered: