insin / insin/inputmask-core

Cannot paste in a phone number mask

Open
#41 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
303
Forks
51
PR merge metrics
No merged PRs in 30d

Description

My mask has the following pattern "(111) 111-1111", which means that I should be able to paste the following phone (123) 456-7890. From what I saw in the code this problem is happening because I have two static characters one after another (that closing round bracket and the space that is following it). Of course, if I remove the space from the pattern the paste suddenly starts working but then I have a pattern that is not in the desired format.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.