Closed cyuz closed 11 months ago
Cursor location doesn't move correctly with "number" type input with "." mask When I type the ".", cursor will move to the start
If I use an input with type="text", it works smoothly. Maybe this should be documented.
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script> <script src="https://cdn.jsdelivr.net/npm/maska@2/dist/maska.umd.js"></script> <div id="app"> <input type="number" v-model="message" v-maska data-maska="###.##" /> </div> <script> new Vue({ el: '#app', data: { message: '' }, directives: { maska: Maska.vMaska } }) </script>
https://vue-maska-urdctr.stackblitz.io
Yes, it was documented for version 1.x. In current docs now too. Thank you.
Describe the bug
Cursor location doesn't move correctly with "number" type input with "." mask When I type the ".", cursor will move to the start
If I use an input with type="text", it works smoothly. Maybe this should be documented.
Steps to reproduce
Reproduction link
https://vue-maska-urdctr.stackblitz.io