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 noticed that when you won't be changing the value of a particular select tag (e.g., city), it wont set the value.
Example, when you choose a city that has "one" barangay only, of course you wont be opening the Select tag anymore since it is already pre-selected or pre-filled. I suggest trying this location, and try to log the variables from useState:
Region: Region I (Ilocos Region)
Province: Ilocos Norte
City: Adams
Barangay: Adams (Pob) ---> The only barangay of City of Adams
When you log the selected options, you will notice that the Barangay is blank since there's no way to reselect/reset it. Thus, the resulting log will be:
Region: Region I (Ilocos Region)
Province: Ilocos Norte
City: Adams
Barangay:
The text was updated successfully, but these errors were encountered:
I noticed that when you won't be changing the value of a particular select tag (e.g., city), it wont set the value.
Example, when you choose a city that has "one" barangay only, of course you wont be opening the Select tag anymore since it is already pre-selected or pre-filled. I suggest trying this location, and try to log the variables from useState:
Region: Region I (Ilocos Region)
Province: Ilocos Norte
City: Adams
Barangay: Adams (Pob) ---> The only barangay of City of Adams
When you log the selected options, you will notice that the Barangay is blank since there's no way to reselect/reset it. Thus, the resulting log will be:
Region: Region I (Ilocos Region)
Province: Ilocos Norte
City: Adams
Barangay:
The text was updated successfully, but these errors were encountered: