2
0
mirror of https://github.com/tenrok/maska.git synced 2026-06-11 18:02:27 +03:00

Some fixes for number input type

This commit is contained in:
Alexander Shabunevich
2020-02-09 22:53:55 +03:00
parent f9b0fd81b1
commit 63aea135cd
6 changed files with 19 additions and 5 deletions
+4
View File
@@ -121,6 +121,10 @@ and with vanilla JS attribute, but make sure that mask value is proper `JSON`, s
<input data-mask='["# cm", "#.# cm", "#.## cm"]'>
```
## Known issues
When used on input of type `number` could have inconsistent behavior in different browsers. Use attribute `inputmode` if you just need a numeric keyboard for given input.
## Source of Inspiration
- [vue-the-mask](https://vuejs-tips.github.io/vue-the-mask/)