cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Putte
Frequent Visitor

Bypassing the shortcomings of the OnChange property in a dropdown control.

It seems like the "OnChange" property of a DropDown control will only fire an "Event" in the App if it's interactive (the user clicks on the control).
This can be challenging when trying to build a "dynamic" App with multiple DropDown controls whose Items are dependant on it's "parent" DropDown controls (collections och SP lists).

But if you add a ComboBox control to the App with its "DefaultSelectedItems" property pointed to the DropDown control you can use the ComboBox controls "OnChange" property to trigger dynamic events....
And then just wack "false" into ComboBox "Visible" property to make it go away from the GUI.

It's not pretty, and it's not even clever probably, but boom, it works...

0 REPLIES 0

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,398)