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: Specify to hide or show the users/groups which are hidden in the UI #122

Closed
estruyf opened this Issue Sep 7, 2018 · 2 comments

Comments

Projects
None yet
1 participant
@estruyf
Collaborator

estruyf commented Sep 7, 2018

Category

[ ] Enhancement
[x] Bug
[ ] Question

Version

Please specify what version of the library you are using: [latest]

Expected / Desired Behavior / Question

It would be a great enhancement to be able to hide or show the users/groups which are hidden in the SharePoint UI.

@estruyf estruyf added the enhancement label Sep 7, 2018

@estruyf estruyf added this to the 1.8.0 milestone Sep 7, 2018

@estruyf estruyf self-assigned this Sep 7, 2018

estruyf added a commit that referenced this issue Sep 7, 2018

@estruyf

This comment has been minimized.

Collaborator

estruyf commented Sep 7, 2018

In 1.8.0 a new property showHiddenInUI is added to the PeoplePicker control.

<PeoplePicker
  context={this.props.context}
  titleText="People Picker"
  personSelectionLimit={5}
  // groupName={"Team Site Owners"}
  showtooltip={true}
  isRequired={true}
  defaultSelectedUsers={["tenantUser@domain.onmicrosoft.com", "test@user.com"]}
  selectedItems={this._getPeoplePickerItems}
  showHiddenInUI={false}
  principleTypes={[PrincipalType.User]} />
@estruyf

This comment has been minimized.

Collaborator

estruyf commented Sep 12, 2018

Closing the issue as version 1.8.0 has just been released.

@estruyf estruyf closed this Sep 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment