bcgov / entity

ServiceBC Registry Team working on Legal Entities
Apache License 2.0
23 stars 57 forks source link

Verify - Bug - Unable to unselect a country in Citizenship dropdown in the edit form #21023

Closed patrickpeinanw closed 15 hours ago

patrickpeinanw commented 1 week ago

When we are editing an SI and we want to remove a country of citizenship (for example, remove 'France' in the screenshot below),

before.PNG

if we click on the row (e.g., 'France') in the dropdown menu, the country tag is not removed and a new tag will be created.

after.PNG

This issue exists before we updated the citizenship section to support multiple citizenship (#20610)

gunanagar commented 1 day ago

Tested. Looks good

Screen Shot 2024-05-06 at 11.44.06 AM.png Screen Shot 2024-05-06 at 11.45.03 AM.png Screen Shot 2024-05-06 at 11.45.31 AM.png
patrickpeinanw commented 14 hours ago

@gunanagar I think the bug still exists. There are two ways to unselect a citizenship: 1) click the 'x' in the citizenship tag, 2) click the country name in the dropdown menu. The second method does not work in the edit form.