Is there a way to change the value of a dropdown box using an App State variable? Initial Option Value
does not work for this.
Here's my situation. I have a dropdown that contains A, B, and C, which are names in Firebase. If I currently have B selected, and then I change the name of B in Firebase, the dropdown automatically changes to the Hint Text
. I would like to select this new name in the dropdown.
For some reason, dropdowns don't have a Value
parameter like Labels. Is there another way to approach this?