Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please only work if there is a binding value #191

Open
9ssi7 opened this issue Feb 17, 2022 · 1 comment
Open

please only work if there is a binding value #191

9ssi7 opened this issue Feb 17, 2022 · 1 comment

Comments

@9ssi7
Copy link

9ssi7 commented Feb 17, 2022

Hello,
vue-the-mask for me is the best choice for vue in mask. However, it has a small shortcoming. I usually return my form values with a v-for. But it tries to work even if I have sent the value undefined to the v-mask directive. I want it to work only if it has a value in it.

For example, when I return an object like this, v-mask tries to work for my form value that does not contain the vMask value and breaks my form:

vue-the-mask

Workaround I found for now:

vue-the-mask2

I hope I was able to explain my request. Even if you don't fix it, I will continue with the workaround. Good luch with.

@wokalek-work
Copy link

wokalek-work commented Mar 29, 2022

Thanks!

Same call, someone need to PR this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants