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

Update district.js #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update district.js #2

wants to merge 1 commit into from

Conversation

HR555
Copy link

@HR555 HR555 commented May 24, 2022

Return district id in the response

Return district id in the response
@HR555
Copy link
Author

HR555 commented May 24, 2022

Hi @PasinduS96 , I was just trying to populate a 2nd dropdown with cities when the first dropdown which is a collection of districts is used to select a district. But since the districts response doesn't contain the district_id it is not possible. I am not sure if the modification I have added is the correct solution. Please do check before merging. :) Great work by the way!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant