Hi Marcelo. Thanks for this great plugin. This is exactly what I was looking for since it is unintrusive and plays well with other libs.
There is a small improvement you could do though:
currently the plugin won't let you type the separator characters. For example, if the mask is "dd:dd", I have to type 1230, but if I am unaware of the mask mechanism, I am going to try to type 12:30 and it won't let me.
other minor documentation issue: I had to import the lib using this syntax
import * as smask from "smask";
the import in the readme didn't work, not sure why (I am using svelte)
Hi Marcelo. Thanks for this great plugin. This is exactly what I was looking for since it is unintrusive and plays well with other libs.
There is a small improvement you could do though: currently the plugin won't let you type the separator characters. For example, if the mask is "dd:dd", I have to type 1230, but if I am unaware of the mask mechanism, I am going to try to type 12:30 and it won't let me.
other minor documentation issue: I had to import the lib using this syntax
the import in the readme didn't work, not sure why (I am using svelte)