Skip to content

Search button enabled without filling all required location fields (Country, Province, and District) in Advanced Search #10926

@taohidkhan22

Description

@taohidkhan22

NB: The issue also exists for the death advanced search.

Bug description:

In the Advanced Search section, the Location of Birth field group consists of three dependent fields — Country, Province, and District. These fields are grouped together and should collectively be treated as a single required field group for enabling the Search button.

However, the system currently enables the Search button even when only Place of Birth and Country are filled in, without selecting Province and District.

Steps to reproduce:

  1. Log in as Hospital Clerk/ reg/ RO
  2. Navigate to the Birth advanced search
  3. Select the place of delivery
  4. Select country
  5. Observe the search button

Actual result:

  • The Search button becomes enabled after entering Place of Birth and Country only, even though Province and District are not selected.

Expected result:

  • The Search button should remain disabled until all three fields (Country, Province, and District) under Location of Birth are filled in. Only when all required fields are completed should the Search button become active.

Screenshot/Recording:

  • Screenshot 1
Image
  • Screenshot 2
Image
  • Videos:
Search.button.faulty.mp4

Tested on:
https://register.v19-beta-prod.opencrvs.dev/

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Completed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions