From 6f0002e1a66e9e23667904d425b73bcc0f78b9ba Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 5 Dec 2023 15:36:59 +0300 Subject: [PATCH] Update InputText.vue --- components/lib/inputtext/InputText.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/components/lib/inputtext/InputText.vue b/components/lib/inputtext/InputText.vue index 397cb71d2..368a66ee4 100755 --- a/components/lib/inputtext/InputText.vue +++ b/components/lib/inputtext/InputText.vue @@ -10,14 +10,6 @@ export default { extends: BaseInputText, emits: ['update:modelValue'], methods: { - onInput(event) { - this.$emit('update:modelValue', event.target.value); - } - }, - computed: { - filled() { - return this.modelValue != null && this.modelValue.toString().length > 0; - }, getPTOptions(key) { return this.ptm(key, { context: { @@ -25,6 +17,14 @@ export default { disabled: this.$attrs.disabled || this.$attrs.disabled === '' } }); + }, + onInput(event) { + this.$emit('update:modelValue', event.target.value); + } + }, + computed: { + filled() { + return this.modelValue != null && this.modelValue.toString().length > 0; } } };