cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Lukas1
Advocate III
Advocate III

Trigger a dropdown OnChange from a button

Hi,

is it possible to trigger the OnChange event of a dropdown-box by clicking on a button? (similar to the Select()-function)

1 ACCEPTED SOLUTION

Accepted Solutions
Mr-Dang-MSFT
Power Apps
Power Apps

Hi @Lukas1 ,

You can consider a similar scenario which may work for you: 

  1. Store the actions in the button instead.
  2. Set the OnChange property of the dropdown menu to Select the button.

View solution in original post

3 REPLIES 3
eka24
Super User
Super User

You can set a variable OnSelect of the Button. Then put the variable name in the OnChange of the Dropdown. So whenever you click the button, it will trigger the OnChange.

 

If you have issues, give the full scenario or example

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Mr-Dang-MSFT
Power Apps
Power Apps

Hi @Lukas1 ,

You can consider a similar scenario which may work for you: 

  1. Store the actions in the button instead.
  2. Set the OnChange property of the dropdown menu to Select the button.

So clever! Thanks!

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.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

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 (6,254)