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

docs: updated docs for v3

This commit is contained in:
Alexander Shabunevich
2024-05-28 22:24:39 +03:00
parent 7921676276
commit c659a3d585
28 changed files with 1107 additions and 884 deletions
+22
View File
@@ -0,0 +1,22 @@
# Known issues
## Unsupported input types
Please use Maska only for inputs of the following types: `text`, `search`, `URL`, `tel` and `password`.
If you need a numeric keyboard, use `type="text"` with attribute `inputmode="numeric"`:
```html
<input type="text" inputmode="numeric">
```
## Vuetify and other UI frameworks
Some frameworks with custom components may not pass `data-` attributes to native input elements. In such cases, you will need to set the mask and other options using directive value:
```vue
<script setup>
const options = { mask: '#-#' }
</script>
<input v-maska="options">
```