You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
For both Community Leader and Hospital Official roles, when a declaration is created using one address type (e.g., Residential Address or Other), and later edited to switch the address type (Residential ↔ Other), the prefilled address value in the form does not update accordingly. It continues to display the previously selected address data.
However, on the review page, the system correctly identifies this mismatch and marks the address as invalid.
Steps to Reproduce:
Login as Community Leader or Hospital Official
Create a declaration using Residential Address (or Other Address)
Save/submit the declaration
Open the declaration for editing
Change the address type (e.g., Residential → Other or vice versa)
Observe the address field in the form
Expected Result:
The address field should reset or update based on the newly selected address type
Prefilled values should reflect the correct address structure
Actual Result:
The address field continues to show the old prefilled value
The change in address type does not properly trigger an update in the form
On the review page, the address is marked as invalid due to inconsistency
Description:
For both Community Leader and Hospital Official roles, when a declaration is created using one address type (e.g., Residential Address or Other), and later edited to switch the address type (Residential ↔ Other), the prefilled address value in the form does not update accordingly. It continues to display the previously selected address data.
However, on the review page, the system correctly identifies this mismatch and marks the address as invalid.
Steps to Reproduce:
Expected Result:
Actual Result:
Videos
adress.field.mp4
Tested on:
https://register.v20-test.e2e-k8s.opencrvs.dev/