code4romania / code4romania/onghub
Odd Behavior in City/Count List
- Dominant language
- TypeScript
- Stars
- 6
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
There are multiple issues with these lists, which I will detail below:
_____________________________________________________________________________________________________________________________________________
#### 1) City List is Empty at Opening After Checkbox Selection
- **Steps to Reproduce**
1. Access the third step of the NGO registration form.
2. In the 'Date oficiale' section, select a county-city.
3. Proceed to the 'Informații de contact' section and select the checkbox.
4. Click on the 'City' list.
- **Expected Result**
4. The city list should display available options.
- **Actual Result**
4. The city list opens but appears empty.
- **Note**
To make the values appear, the user must select a county.
_____________________________________________________________________________________________________________________________________________
#### 2) Invalid City-County Selection Allowed
- **Steps to Reproduce**
1. Access the third step of the NGO registration form.
2. In the 'Date oficiale' section, select a county-city. (e.g.: "Arges / Albesti")
3. In the 'Informații de contact' section, select a different county-city. (e.g.: "Bucuresti / Sector 5")
4. Select the checkbox
5. Click the "City" list
- **Expected Result**
5. The city list should display options within the selected county, Arges.
- **Actual Result**
5. The city list displays options within the previously selected county, Bucuresti.
- **Note**
The NGO request can still be submitted with this invalid selection.

_____________________________________________________________________________________________________________________________________________
#### 3) City List Displays No Options If County Is Not Selected
If you click on the city list without first selecting a county, the list opens but appears empty. This behavior seems odd; see the ss below:

Contributor guide
Assessment
This issue has not been assessed yet.