Create event on each dropdown selection


I’m trying to work out how to change screens based on a dropdown item choice.

I have a dropdown widget containing 5 items/choices.

I’ve created an event for the dropdown widget with the trigger “RELEASED” – this works great. Although I need to choose which screen the event triggers based on each dropdown menu item.

Is there a method to add an event based on a specific dropdown menu choice?

Thank you!

You need a “Call function” event action for this. In a custom function you can easily get the selected dropdown value. See these examples: Drop-down list (lv_dropdown) — LVGL documentation