Skip to content
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
Assignees
Milestone

Comments

@estruyf
Copy link
Member

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 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
Copy link
Member Author

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={["[email protected]", "[email protected]"]}
  selectedItems={this._getPeoplePickerItems}
  showHiddenInUI={false}
  principleTypes={[PrincipalType.User]} />

@estruyf
Copy link
Member Author

estruyf commented Sep 12, 2018

Closing the issue as version 1.8.0 has just been released.

@estruyf estruyf closed this as completed Sep 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant