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 control On Change event does not fire in Runtime #479

Open
PRusakPL opened this issue Jul 1, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working code Issue is related to a Power Apps code component Component: PeoplePicker

Comments

@PRusakPL
Copy link

PRusakPL commented Jul 1, 2024

Describe the bug
For control People Picker (https://learn.microsoft.com/en-us/power-platform/guidance/creator-kit/peoplepicker) out of the sudden On Change event stopped triggering in runtime mode for published apps
What is weird - this event works when debugging the app and staying in make.powerapps.com (play mode)

To Reproduce
Steps to reproduce the behavior:

  1. Use People Picker control in your Canvas App
  2. Use On Change event in the control to react on changes happening inside
  3. Code in On Change event should execute when change happens (put any code - even simple Notify("Change of the people picker value"); )
  4. Your code will not fire - control become almost useless without this event being triggered properly

Expected behavior
On Change event should be triggered in runtime. I am not sure what is blocking this event.

Screenshots
When using app in debugging mode in make.powerapps.com On Change event works and label is populated with JSON value of array with selected user(s):
image

When using app in runtime - label generated in On Change event is not populated (I also checked other code: Logging / notifications - not firing too)
image
⬆️ No JSON above - code in OnChange was not fired :-/

Additional context
I am using recent release of Creator Kit solution (Solution version: 1.0.20240529.1)
image

I used recent Edge browser and Google Chrome browser - both have issues with triggering On Change event

@PRusakPL PRusakPL added bug Something isn't working ⚠️ needs triage Has not been triaged by the team yet. labels Jul 1, 2024
@denise-msft denise-msft added this to the Creator Kit - August 2024 milestone Aug 10, 2024
@denise-msft denise-msft self-assigned this Aug 29, 2024
@denise-msft
Copy link
Member

@PRusakPL our team was not able to reproduce the issue. In our repro, the OnChange behavior was triggering as expected.

Could you please let us know if you're still seeing the issue on the latest studio version (please share the version if possible).

@denise-msft denise-msft added code Issue is related to a Power Apps code component Component: PeoplePicker and removed ⚠️ needs triage Has not been triaged by the team yet. labels Aug 29, 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 code Issue is related to a Power Apps code component Component: PeoplePicker
Projects
None yet
Development

No branches or pull requests

2 participants