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

Facility Creation Form: Pincode Autofill Overwrites Pre-filled Geographic Data & Add Similar Approach in User Creation Form #10145

Closed
2 tasks
nihal467 opened this issue Jan 24, 2025 · 1 comment · Fixed by #10166
Assignees

Comments

@nihal467
Copy link
Member

nihal467 commented Jan 24, 2025

Issue

  1. When the facility creation form is pre-filled based on the organization’s location (e.g., State: Kerala, District: Ernakulam, Local Body: Aluva), and then a pincode (e.g., 682001) is entered, the entire autofill based on the organization’s location is erased. Only the state and district autofill based on the pincode remain, and other fields are cleared.
  2. Organisation geo location autofill is missing for user creation page

Steps to Open User Page

  1. Open the link: User Page.
  2. Click on the "Add User" button.

Steps to Open Facility Page

  1. Open the Link : Facility Page
  2. Click on "Add Facility" Button

Expected behavior

  • If the pincode autofill matches the existing state and district data, the dropdown fields should not be reset.
  • The user creation form should prefill geographic details (similar to the facility creation form) based on the current page’s context

Screenshots

Image

Image

@Rishith25
Copy link
Contributor

@nihal467 Hey I would like to work on this

@nihal467 nihal467 changed the title Enhancement : Geographic Details Auto-fill in User Creation Form Modify the Behavior of Pincode Auto-fill and apply Similar behavior in user creation Form Jan 24, 2025
@nihal467 nihal467 changed the title Modify the Behavior of Pincode Auto-fill and apply Similar behavior in user creation Form Facility Creation Form: Pincode Autofill Overwrites Pre-filled Geographic Data & Add Similar Approach in User Creation Form Jan 24, 2025
@github-project-automation github-project-automation bot moved this to Triage in Care Jan 29, 2025
@rithviknishad rithviknishad moved this from Triage to Done in Care Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
2 participants