mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #5257
This commit is contained in:
parent
5d9ac9917d
commit
00c891a3e2
5 changed files with 11 additions and 5 deletions
|
@ -8,10 +8,13 @@ import BaseInputText from './BaseInputText.vue';
|
|||
export default {
|
||||
name: 'InputText',
|
||||
extends: BaseInputText,
|
||||
inheritAttrs: false,
|
||||
emits: ['update:modelValue'],
|
||||
methods: {
|
||||
getPTOptions(key) {
|
||||
return this.ptm(key, {
|
||||
const _ptm = key === 'root' ? this.ptmi : this.ptm;
|
||||
|
||||
return _ptm(key, {
|
||||
context: {
|
||||
filled: this.filled,
|
||||
disabled: this.$attrs.disabled || this.$attrs.disabled === ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue