Skip to content

Update district.js#2

Open
HR555 wants to merge 1 commit into
PasinduS96:masterfrom
HR555:patch-1
Open

Update district.js#2
HR555 wants to merge 1 commit into
PasinduS96:masterfrom
HR555:patch-1

Conversation

@HR555

@HR555 HR555 commented May 24, 2022

Copy link
Copy Markdown

Return district id in the response

Return district id in the response
@HR555

HR555 commented May 24, 2022

Copy link
Copy Markdown
Author

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