Skip to content

PhoneUS Method isn't accurate #2126

Open
@itstabish

Description

@itstabish

Subject of the issue

PhoneUS Method is supposed to validate phone numbers to ensure they follow the 9 digit protocol. Phone numbers cannot be all 1's or a series of consecutive numbers such as 1234567. This is enough of a deterrent. However, yesterday, I came across a form, that when filled with the value 555 555 5555, validated as correct. Of course, this form IS incorrect.

Your environment

1.16.0
Chrome 63.0.3239.132

Steps to reproduce

Visit https://jsfiddle.net/ssguf2jy/
Fill in the phone number as 555 555 5555

Expected behaviour

An error should appear to the right of the field saying "x Please specify a valid phone number"

Actual behaviour

A check mark appears to the right of the field that denotes valid data.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions