Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delay of filling data for each location category #53

Closed
2203798 opened this issue Aug 30, 2022 · 0 comments
Closed

Delay of filling data for each location category #53

2203798 opened this issue Aug 30, 2022 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@2203798
Copy link

2203798 commented Aug 30, 2022

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:

@isaacdarcilla isaacdarcilla added bug Something isn't working enhancement New feature or request labels Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants