Skip to content

Question on Phone Mask with International numbers #807

Description

@Light407

I have a question regarding international numbers.

This library is really good and it works great in MAUI Hybrid which we have found that many libraries fail. So first of all thanks for a great lib!

We are using this to mask phone numbers in typical US formats such as "(###) ###-####" and it works great. The question now is how we can support rare cases when the user wants to enter an international number. Can we somehow detect if a user types a '+' sign and if so simply remove the masking (and if user removes the plus we put back the mask)? We are using this on a regular HTML input field.

Again thank you very much!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions