Open ebruchez opened 11 years ago
It seems to me that the Inputmask library works pretty well, and would be a good candidate as the basis for an "input mask" component. At a first glance, I am not noticing any of the very annoying behaviors exhibited by some other libraries I had tried in the past with the cursor position, cut/copy/paste, or entering some of the separator characters.
For international phone numbers, see the intl-tel-input jQuery plugin.
It is based on a Google's libphonenumber.
MD comment: "with the user specifying the input mask via a regexp. I can see that it would be good to be able to specify the country as well and the country code is inserted etc."