Refactor #3922 - For InputText

This commit is contained in:
Tuğçe Küçükoğlu 2023-05-05 15:53:35 +03:00
parent c1a506287b
commit 24538f0fd0
4 changed files with 37 additions and 1 deletions

View file

@ -1,10 +1,13 @@
<template>
<input :class="['p-inputtext p-component', { 'p-filled': filled }]" :value="modelValue" @input="onInput" />
<input :class="['p-inputtext p-component', { 'p-filled': filled }]" :value="modelValue" @input="onInput" v-bind="ptm('root')" />
</template>
<script>
import BaseComponent from 'primevue/basecomponent';
export default {
name: 'InputText',
extends: BaseComponent,
emits: ['update:modelValue'],
props: {
modelValue: null