Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Not working in condition if #12

Closed
projct1 opened this issue Dec 20, 2016 · 3 comments
Closed

Not working in condition if #12

projct1 opened this issue Dec 20, 2016 · 3 comments

Comments

@projct1
Copy link

projct1 commented Dec 20, 2016

<input v-if="show" type="text" v-mask="'+7 (###) ###-##-##'">
this.show = true and mask not working (

@projct1 projct1 changed the title Phone mask not working Not working in condition if Dec 20, 2016
@probil
Copy link
Owner

probil commented Dec 20, 2016

I will check. Thanks, for your report

@rookwood
Copy link

I've noticed that it seems that masks won't work if the first character isn't a placeholder character.

For example, in formatting a US phone number ###-###-#### works fine but (###)###-#### always results in the first character typed being replaced by (. Not sure if that's related here, but might be helpful.

@probil
Copy link
Owner

probil commented Feb 13, 2017

Should be fixed in v1.0.3. Please, check it

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

No branches or pull requests

3 participants