You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I have trouble to make it work with multi mask.
My input looks like: <input type="tel" name="phone" v-model.trim="form.phone" v-mask="phoneMask">
And later on in data I have: phoneMask: { mask() { return ['999-999-999[9]', '9{11,}']; }}
I also tried more direct: phoneMask: { mask: ['999-999-999[999]', '9{11,}'] }
It looks like it always filters with first mask only. I had an old code and more manual binding - than it was working with both masks, but there were other formatting issues (note important in this case).
Am I doing something wrong?
The text was updated successfully, but these errors were encountered:
Sorry for very late response @zyxd
I agree this works in general, but as far as I remmember I had more of a business logic issue more than technical. I was able to adjust it in some other way.
Thanks for response I'm closing this issue.
Hi
I have trouble to make it work with multi mask.
My input looks like:
<input type="tel" name="phone" v-model.trim="form.phone" v-mask="phoneMask">
And later on in data I have:
phoneMask: { mask() { return ['999-999-999[9]', '9{11,}']; }}
I also tried more direct:
phoneMask: { mask: ['999-999-999[999]', '9{11,}'] }
It looks like it always filters with first mask only. I had an old code and more manual binding - than it was working with both masks, but there were other formatting issues (note important in this case).
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: