Update inheritAttrs as true
parent
643fa92be3
commit
03962b3224
|
@ -1,11 +1,10 @@
|
|||
<template>
|
||||
<input :class="['p-inputtext p-component', {'p-filled': filled}]" :value="modelValue" @input="onInput" v-bind="$attrs" />
|
||||
<input :class="['p-inputtext p-component', {'p-filled': filled}]" :value="modelValue" @input="onInput"/>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'InputText',
|
||||
inheritAttrs: false,
|
||||
emits: ['update:modelValue'],
|
||||
props: {
|
||||
modelValue: null
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<template>
|
||||
<textarea :class="['p-inputtextarea p-inputtext p-component', {'p-filled': filled, 'p-inputtextarea-resizable ': autoResize}]" v-bind="$attrs" :value="modelValue" @input="onInput"></textarea>
|
||||
<textarea :class="['p-inputtextarea p-inputtext p-component', {'p-filled': filled, 'p-inputtextarea-resizable ': autoResize}]" :value="modelValue" @input="onInput"></textarea>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'Textarea',
|
||||
inheritAttrs: false,
|
||||
emits: ['update:modelValue'],
|
||||
props: {
|
||||
modelValue: null,
|
||||
|
|
Loading…
Reference in New Issue