ITADN

Dynamic parameters not working with VueJS

#242Closedentipe 创建于 2024-10-08
E
entipecommented
### Describe the bug With Vue, dynamic mask will be ignored. `<input type="tel" v-maska="['+32 # ### ## ##, '+32 ### ## ## ##']" />` I started with your live-demo implementation: ``` <details> <summary>Dynamic mask: CPF/CNPJ</summary> <input class="maska" data-maska="['###.###.###-##', '##.###.###/####-##']"> </details> ``` ### Steps to reproduce Vue3 + Vite, Use a Array for the `v-maska` attribute. ### Reproduction link Reproduction link : https://stackblitz.com/edit/vitejs-vite-yx35ze?file=src%2Fcomponents%2FHelloWorld.vue
关闭于 2024-10-08 3 条评论