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

Province/state field is required for all countries #428

Open
tomtuv opened this issue Feb 14, 2024 · 3 comments
Open

Province/state field is required for all countries #428

tomtuv opened this issue Feb 14, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@tomtuv
Copy link
Contributor

tomtuv commented Feb 14, 2024

Description

We can't go to the next step if we don't fill in the province/state field.

Steps to Reproduce

  1. Fill in the address form and choose a country like France
  2. Leave the province/state field blank
  3. The submit button is disabled

Expected Result

The province/state field should only be required for countries like the United States and Canada. It would be best to show it only to those countries.

Actual Results

The province/state field is required and visible for all countries.

Capture d’écran 2024-02-14 à 10 22 45
@tomtuv tomtuv added the bug Something isn't working label Feb 14, 2024
@tomtuv tomtuv changed the title Province/state field is required even for all countries Province/state field is required for all countries Feb 14, 2024
@malessani
Copy link
Contributor

we can plan to add a settings for that, so that you can show the field only if there are predefined values for the country. I'll update the issue once we will tackle it

@rodrigobarona
Copy link

Hi @malessani
Would you happen to have any updates on this situation?

Right now is not given any error feedback, the "Can't be blank" message is not showing up and is very confusing for the user.

Thank you fo the support

@malessani
Copy link
Contributor

Hi @rodrigobarona we should be able to add a setting to make the field optional per market. I'll keep you posted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants