Dynamic mask based on value length #915
-
What problem you are trying to solve? Describe the solution you'd like Describe alternatives you've considered |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
you can probably use or
|
Beta Was this translation helpful? Give feedback.
-
@uNmAnNeR i tried, but without success. What am I doing wrong?
<input
id="document"
name="document"
type="text"
required
inputmode="numeric"
v-imask="[{mask: '000.000.000-00'}, {mask: '00.000.000/0000-00'}]"
v-model="form.documento" /> |
Beta Was this translation helpful? Give feedback.
you can probably use
(00)00000000[0]
or