S
S
Sergey Suntsev2017-10-09 14:23:15
JavaScript
Sergey Suntsev, 2017-10-09 14:23:15

How to delete the first character when inserting the phone into the mask via ctrl-v?

There is a mask into which numbers like +7 (834) 523-0654 are adequately inserted, but at the same time numbers like 88345230654 do not want to be inserted at all, and there the first number is inserted after +7, and the last number is cut off.
Is it possible to cut a line from the clipboard before Ctrl-V?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2017-10-09
@GreyCrew

Trim on beforepaste event

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question