Open AlphaGit opened 9 years ago
I want to participate. Any ideas of how to implement this feature?
@Yankovsky Welcome!
jQuery already has great plugins that provide this functionality, for which the source code can be found here:
Based on it, I'd ask (and investigate an answer for) the following questions:
\d{0,4}-?\d{5}
and our string is currently 123|
(|
would be the cursor).
Provide the ability to create masks along with the input restriction. Something similar to https://github.com/RobinHerbots/jquery.inputmask