Forum Academy Marketplace Showcase Pricing Features

Triggering dropdown with a button

Hi,
I am looking for a way to trigger a dropdown (change selected choice) with an external trigger, like a click of a button.
I’ll appreciate any idea you might have!

One way (out of many) to make it is to use a Custom state that “listens” to a Conditional:

  1. Set Custom state on the dropdown that changes the default value of the dropdown based on the Conditional.

  2. Create a Conditional that is changed by the button.

Result: you click on the button and change the Conditional. Then the custom state on the dropdown becomes true and dropdown default value is changed.

Thanks a lot! this works just fine!

This topic was automatically closed after 70 days. New replies are no longer allowed.