From 37fedd0426f6deee14b80eb2df2d6e4be3362e3c Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Mon, 22 Jul 2024 16:10:09 +0300 Subject: [PATCH] Refactor #6084 --- packages/primevue/src/select/Select.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/primevue/src/select/Select.vue b/packages/primevue/src/select/Select.vue index bf7eebbad..a2cfe921e 100755 --- a/packages/primevue/src/select/Select.vue +++ b/packages/primevue/src/select/Select.vue @@ -48,7 +48,7 @@ > {{ label === 'p-emptylabel' ? ' ' : label || 'empty' }} - +
@@ -432,9 +432,6 @@ export default { this.clicked = false; }, - isClearIconVisible() { - return this.showClear && this.modelValue != null && isNotEmpty(this.options); - }, onEditableInput(event) { const value = event.target.value; @@ -993,6 +990,9 @@ export default { ariaSetSize() { return this.visibleOptions.filter((option) => !this.isOptionGroup(option)).length; }, + isClearIconVisible() { + return this.showClear && this.modelValue != null && isNotEmpty(this.options); + }, virtualScrollerDisabled() { return !this.virtualScrollerOptions; }