Closed lihas closed 3 years ago
Buttons are removed. will file a new issue for the following. The fix for this issue was there in the initial pull request sent by @siddharthsingh but during review I suggested a change in code which brought the issue back.
Select delhi in states, click get districts. Go back to states drop down and remove delhi and select goa. Dont click get districts in this case. Just go to districts drop down. You will see that it lists districts from delhi even though the states dropdown only has goa and doesn't have delhi.
The districts should be fetched as soon as states drop down is closed. The vaccine centres should be fetched as soon as the districts drop down is closed.
This will improve UI and will get rid of the following bug. Bug ; Select delhi in states, click get districts. Go back to states drop down and remove delhi and select goa. Dont click get districts in this case. Just go to districts drop down. You will see that it lists districts from delhi even though the states dropdown only has goa and doesn't have delhi.