powercat-creator-kit
powercat-creator-kit copied to clipboard
[BUG]: People Picker Returns 'undefined' in OnChange
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
Thank you for reporting this issue. Our team is currently reviewing the issue and will provide updates as soon as possible.