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

v-mask directive array not working on v0.11.0-alpha.1 #17

Closed
lucassimines opened this issue Aug 7, 2017 · 4 comments
Closed

v-mask directive array not working on v0.11.0-alpha.1 #17

lucassimines opened this issue Aug 7, 2017 · 4 comments

Comments

@lucassimines
Copy link

lucassimines commented Aug 7, 2017

I'm trying to use the following, but it's not working:

<input type="text" name="phone" v-mask="['(##) ####-####', '(##) #####-####']" placeholder="{{ trans('front.phone') }}" />

I need to use the directive way because of the validator, but this v-mask array is just working on v0.10 that doesn't support the directive component.

neves added a commit that referenced this issue Aug 7, 2017
@neves
Copy link
Member

neves commented Aug 7, 2017

Try v0.11.0-alpha.2
If it works, let me know so I can move to beta version.

@lucassimines
Copy link
Author

Now it's working @neves, thanks for this awesome module.

@neves
Copy link
Member

neves commented Aug 10, 2017

Thank you for reporting bugs

@neves neves closed this as completed Aug 10, 2017
@Jessy93
Copy link

Jessy93 commented Aug 1, 2021

It doesn’t work for alphanumeric input
v-mask="['# AA 01', '## AA 01', '### AA 01', '#### AA 01']"
Can someone help me ?

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

3 participants