vue-the-mask icon indicating copy to clipboard operation
vue-the-mask copied to clipboard

Can't use empty mask

Open DwayneHawkins opened this issue 8 years ago • 2 comments

I have my own text-field component, and a mask option is optional. I use a prop in combination with vue-the-mask directive. The prop in my component is defined like: props: { mask: { required: false, default: '' } } The problem is that vue-the-mask enforces the field to be literally empty so the input is unusable. Is there a way around this?

DwayneHawkins avatar Oct 26 '17 12:10 DwayneHawkins

https://github.com/vuejs-tips/vue-the-mask/pull/34

c01nd01r avatar Oct 26 '17 13:10 c01nd01r

We have created a fork and published a package with the reference to the author of this project. Also we have merged some major PRs into our fork. If you need more features - feel free to contribute, we are open to PR :)

Package Repo

kaskar2008 avatar Aug 29 '19 11:08 kaskar2008