[BUG]: People Picker Returns 'undefined' in OnChange #499
Open
Description
opened on Oct 7, 2024
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:
- Add a people picker control to the page
- Set suggested items to: Search(Users, Self.SearchText, 'Full Name', 'Primary Email')
- Set SuggestionKey to "internalemailaddress"
- Set SuggestionName to "fullname"
- Set SuggestionRole to "jobtitle"
- Update OnChange to If(IsEmpty(Self.SelectedPeople), Notify("empty"), Notify("hassome"))
- Attempt to play app in Designer
- Following error is displayed
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