2
0
mirror of https://github.com/tenrok/maska.git synced 2026-05-15 11:59:38 +03:00
Files
2024-06-02 16:49:41 +03:00

23 lines
607 B
Markdown

# 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">
```