Skip to content

[BUG]: People Picker Returns 'undefined' in OnChange #499

Open
@rwilson504

Description

Describe the bug
When using the people picker control the SelectedPersons property sometimes returned as 'undefined' rather than an empty array causing errors in the Power Apps Studio experience.

To Reproduce
Steps to reproduce the behavior:

  1. Add a people picker control to the page
  2. Set suggested items to: Search(Users, Self.SearchText, 'Full Name', 'Primary Email')
  3. Set SuggestionKey to "internalemailaddress"
  4. Set SuggestionName to "fullname"
  5. Set SuggestionRole to "jobtitle"
  6. Update OnChange to If(IsEmpty(Self.SelectedPeople), Notify("empty"), Notify("hassome"))
  7. Attempt to play app in Designer
  8. Following error is displayed
    image

image

Expected behavior
Control should return an empty array rather than 'undefined'

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Authoring version: 3.24092.19

Activity

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

Metadata

Assignees

Labels

bugSomething isn't working⚠️ needs triageHas not been triaged by the team yet.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions