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
The "From Token" and "To Token" drop-downs don't change pre-selected token to first available one from updated dropdown after selecting one of them. Available tokens in both drop-downs are changing by selecting different token from both drop-downs - currently, we're leaving it with previous value.
Steps To Reproduce
Navigate to the app
Select for instance the "eXOF" token from the "From Token" drop-down
Open the "To Token" drop-down
Ensure the pre-selected token is not exist in the updated "To Token" dropdown options and can't be exchanged because of missing a token
Expected result
The "From Token" and "To Token" drop-downs change pre-selected token to first available one from updated dropdown after selecting one of them
Actual result
The "From Token" and "To Token" drop-downs don't change pre-selected token to first available one from updated dropdown after selecting one of them
Proposed solve:
Bind an effect to the dropdown update which checks if existing selected token is in new list, updating the selected value if token is not present in list.
Description
The "From Token" and "To Token" drop-downs don't change pre-selected token to first available one from updated dropdown after selecting one of them. Available tokens in both drop-downs are changing by selecting different token from both drop-downs - currently, we're leaving it with previous value.
Steps To Reproduce
Expected result
The "From Token" and "To Token" drop-downs change pre-selected token to first available one from updated dropdown after selecting one of them
Actual result
The "From Token" and "To Token" drop-downs don't change pre-selected token to first available one from updated dropdown after selecting one of them
Screenshots
Private Zenhub Video
Additional context
The text was updated successfully, but these errors were encountered: