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

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

Open
rwilson504 opened this issue Oct 7, 2024 · 1 comment
Open

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

rwilson504 opened this issue Oct 7, 2024 · 1 comment
Assignees
Labels
bug Something isn't working ⚠️ needs triage Has not been triaged by the team yet.

Comments

@rwilson504
Copy link

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

@rwilson504 rwilson504 added bug Something isn't working ⚠️ needs triage Has not been triaged by the team yet. labels Oct 7, 2024
@MaheshSripada
Copy link
Collaborator

Thank you for reporting this issue. Our team is currently reviewing the issue and will provide updates as soon as possible.

@MaheshSripada MaheshSripada self-assigned this Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ⚠️ needs triage Has not been triaged by the team yet.
Projects
None yet
Development

No branches or pull requests

2 participants