I have a dropdown (select) with two elements. When I press a button I want the dropdown to change selected element to the other one. Everything looks good until I click on the field to update it, the old value shows up. What would be the best way to fix it?
I have a dropdown (select) with two elements. When I press a button I want the dropdown to change selected element to the other one. Everything looks good until I click on the field to update it, the old value shows up. What would be the best way to fix it?