Closed killroyboy closed 3 years ago
As you pointed out the issue is only when the static characters are at the beginning. Using the prefill option could solve this, is there a reason you did not use that prop?
As you pointed out the issue is only when the static characters are at the beginning. Using the prefill option could solve this, is there a reason you did not use that prop?
I can't use the custom component and as far as I could tell, it wasn't available at the directive level. I tried adding it into the options
for Vue.use
, but it didn't have any effect.
It also felt like a bug rather than a setting that should be changed to make it work.
Sorry it took so long to review and merge, been a very busy few couple of weeks. Thanks for the pull request.
:tada: This issue has been resolved in version 1.3.5 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Describe the bug Users are unable to type a mask static character if it's the first character of the mask. For instance, if I have a mask for a US phone,
(###) ###-####
, and the user starts typing an open parenthesis, it just rejects it and nothing happens. The user assumes something is broken.To Reproduce
Expected behavior Users should be able to type static characters and they should appear.
Desktop (please complete the following information):