You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having a select component and each option is a country. When i select each one of them pushes to its corresponding route.
For example if i select the Austria-Vienna option it sends me to that page but i want it to keep the selected value.
I'm trying to get it from the params but its not working. The video screenshot and codesandbox posted below explains it better.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm having a select component and each option is a country. When i select each one of them pushes to its corresponding route.
For example if i select the Austria-Vienna option it sends me to that page but i want it to keep the selected value.
I'm trying to get it from the params but its not working. The video screenshot and codesandbox posted below explains it better.
Screen.Recording.2023-08-25.at.22.40.29.mov
And codesandbox here
Beta Was this translation helpful? Give feedback.
All reactions