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:
@@ -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>
|
||||
Reference in New Issue
Block a user