vue-the-mask
vue-the-mask copied to clipboard
Can't use empty mask
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?
https://github.com/vuejs-tips/vue-the-mask/pull/34