This commit is contained in:
mertsincan 2024-02-11 08:10:29 +00:00
parent a9164bdbde
commit dd84dbbb60
33 changed files with 82 additions and 44 deletions

View file

@ -1,5 +1,5 @@
<template>
<input :class="cx('root')" :readonly="readonly" @input="onInput" @focus="onFocus" @blur="onBlur" @keydown="onKeyDown" @keypress="onKeyPress" @paste="onPaste" v-bind="ptm('root', ptmParams)" />
<input :class="cx('root')" :readonly="readonly" @input="onInput" @focus="onFocus" @blur="onBlur" @keydown="onKeyDown" @keypress="onKeyPress" @paste="onPaste" v-bind="ptmi('root', ptmParams)" />
</template>
<script>
@ -9,6 +9,7 @@ import BaseInputMask from './BaseInputMask.vue';
export default {
name: 'InputMask',
extends: BaseInputMask,
inheritAttrs: false,
emits: ['update:modelValue', 'focus', 'blur', 'keydown', 'complete', 'keypress', 'paste'],
watch: {
mask(newMask, oldMask) {