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

Default Country Code setting in Phone Field not working #2257

Open
stevenrkovar opened this issue Jan 23, 2025 · 1 comment
Open

Default Country Code setting in Phone Field not working #2257

stevenrkovar opened this issue Jan 23, 2025 · 1 comment

Comments

@stevenrkovar
Copy link

Describe the bug

I'm seeing an issue where Formie recently started ignoring the default country code setting in phone fields in the admin and is instead showing the first entry, Afghanistan, in the drop down.

Steps to reproduce

  1. Create Phone Field
  2. Set "Country Code Dropdown" to on.
  3. Set "Show Country Dial Code" to on.
  4. Define a default Country.
  5. View front-end form.

Form settings

  • Multi-page form: Yes
  • Submission Method: Page Reload
  • Client-side Validation: No
  • Custom Form Templates: No. Using themeConfig, but now config settings are set for phoneNumber.

Craft CMS version

4.14.1

Plugin version

2.1.39

Multi-site?

Yes

Additional context

Image Image

I've created a bare bones new form with just the phone field and it still happens. Additionally, it's happening in 60 existing forms.

@engram-design
Copy link
Member

Fixed for the next release. To get this early, run composer require verbb/formie:"dev-craft-4 as 2.1.39".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants