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

Enhancement To Geographic Details Auto-fill in Facility Creation Form #10013

Open
3 tasks
nihal467 opened this issue Jan 16, 2025 · 4 comments · May be fixed by #10019
Open
3 tasks

Enhancement To Geographic Details Auto-fill in Facility Creation Form #10013

nihal467 opened this issue Jan 16, 2025 · 4 comments · May be fixed by #10019
Assignees

Comments

@nihal467
Copy link
Member

nihal467 commented Jan 16, 2025

          conditional approving it.

Enhancement as a another PR

image

auto-fill the dropdown, based on the current organisation page user

Originally posted by @nihal467 in #9662 (comment)

Expected Behavior

  • Implement auto-fill functionality for the geographic details dropdowns (State, District, Local Body) in the "Create Facility" form based on the user's current organization page. For instance, if the user is on the "Aluva Municipality" organization page, the dropdowns should automatically populate with "Kerala" (State), "Ernakulam" (District), and "Aluva" (Local Body) when the form is opened.
  • Ensure proper handling of pincode autofill behavior. When a user inputs a pincode that corresponds to a region outside the autofilled district (e.g., a non-Ernakulam district pincode while on the Aluva organization page), display a prompt confirming the change. The prompt should ask the user if they want to proceed with updating the State and District fields to reflect the new pincode (e.g., new State: Kerala, new District: Ernakulam).
  • For the "Update Facility" page, ensure that dropdown values are fetched based solely on the facility's existing data. Do not consider the current organization page for auto-filling in this case.
@Rustix69
Copy link
Contributor

Can I work on this I was workiing on the same thing in previous PR

@nihal467 nihal467 added blocked and removed blocked labels Jan 16, 2025
@nihal467
Copy link
Member Author

@Rustix69 i have updated the issue contents,can you read it once and let me know , you are interested or not to work on this issue

@rajku-dev
Copy link
Contributor

rajku-dev commented Jan 16, 2025

@nihal467 , I would like to work on this issue, considering in mind all the tasks mentioned in issue description.

@Mahendar0701
Copy link
Contributor

Mahendar0701 commented Jan 16, 2025

@nihal467 i will take this up. It is follow up of my merged PR. I already done the related work.

@Jacobjeevan Jacobjeevan added this to Care Jan 17, 2025
@github-project-automation github-project-automation bot moved this to Triage in Care Jan 17, 2025
@Jacobjeevan Jacobjeevan moved this from Triage to In Progress in Care Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

4 participants