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

2.0.36 - phone field "Invalid number" #2006

Open
joepagan opened this issue Aug 5, 2024 · 2 comments
Open

2.0.36 - phone field "Invalid number" #2006

joepagan opened this issue Aug 5, 2024 · 2 comments

Comments

@joepagan
Copy link

joepagan commented Aug 5, 2024

Describe the bug

The frontend shows an error of "invalid number" when entering a valid UK number, where the country is also set to UK.

image

Steps to reproduce

  1. make phone field required
  2. enter a valid uk number e.g. 01423 123 123, 01423123123, 01423 123123, 1423123123, 1423 123123, 1423 123 123,
  3. get frontend error

Form settings

  • Multi-page form: No
  • Submission Method: Ajax
  • Client-side Validation: Yes
  • Custom Form Templates: Yes

Craft CMS version

4.5.5

Plugin version

2.0.36

Multi-site?

no

Additional context

No response

@joepagan
Copy link
Author

joepagan commented Aug 5, 2024

Ahhhh just found out it was Cloudflare's rocket loader, works now I have disabled it:
image

I'll leave this open if you want to look at addressing but feel free to close.

@engram-design
Copy link
Member

I'm surprised Rocket Loader would have anything to do with that, so that's quite interesting. I'll look into it.

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