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

Directive could be applied to parent of input element

This commit is contained in:
Alexander Shabunevich
2022-12-07 01:00:41 +03:00
parent bccd75ab09
commit 454dddd4dd
3 changed files with 32 additions and 4 deletions
+13
View File
@@ -0,0 +1,13 @@
<script setup lang="ts">
import { vMaska } from '../../src'
</script>
<template>
<div v-maska>
<input data-maska="#-#" data-maska-eager />
</div>
<div v-maska>
<!-- no input here -->
</div>
</template>