How to change dynamically a Dropdown value

Hi everyone,

I have a dropdown menu, a custom state, and a Table.

the dropdown’s default value is the custom state:

When I change the Dropdown’s value, this sets the custom state and then changes the colored cell with a condition.

The issue is, I don’t find a way, when selecting a cell, to change the value of the dropdown, although this changes the custom state

I’d like to match the dropdown value when selecting a cell:

Thanks for your help!
I hope my explaination was clear enough…

Actually I realised it’s more tricky. When I just land on the page, it’s working fine, but there are other tabs, where I pass the custom state with URL Parameters.

The scenario where it’s not working:

  • I go to another page
  • I change the dropdown value
  • I come back to the page where there is the table “My Trips”
  • When selecting a cell, the dropdown doesn’t change anymore

Solution was to not use the dropdown menu but text and groupfocus instead

1 Like

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