mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #3922 - For Textarea
This commit is contained in:
parent
9353013410
commit
0873281f2a
4 changed files with 45 additions and 2 deletions
|
@ -1,10 +1,13 @@
|
|||
<template>
|
||||
<textarea :class="['p-inputtextarea p-inputtext p-component', { 'p-filled': filled, 'p-inputtextarea-resizable ': autoResize }]" :value="modelValue" @input="onInput"></textarea>
|
||||
<textarea :class="['p-inputtextarea p-inputtext p-component', { 'p-filled': filled, 'p-inputtextarea-resizable ': autoResize }]" :value="modelValue" @input="onInput" v-bind="ptm('root')"></textarea>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import BaseComponent from 'primevue/basecomponent';
|
||||
|
||||
export default {
|
||||
name: 'Textarea',
|
||||
extends: BaseComponent,
|
||||
emits: ['update:modelValue'],
|
||||
props: {
|
||||
modelValue: null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue