Skip to content

Valid phone number from Switzerland #1549

@seyfer

Description

@seyfer

When validator used like that
isMobilePhone(value, 'any', { strictMode: false })

For the valid phone number from Switzerland +411122112211

it returns false. expected true.

on the other hand, our BE uses simple regex for Phone validation '/^\+([0-9]){8,16}$/' and it pass.

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