From ae16753da947f89b4e1011a5fa46fca5a4af05c6 Mon Sep 17 00:00:00 2001 From: "benguozakinci@gmail.com" Date: Fri, 27 Aug 2021 15:54:08 +0300 Subject: [PATCH] Specift the input cleared style condition --- resources/assets/js/components/AkauntingItemButton.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/assets/js/components/AkauntingItemButton.vue b/resources/assets/js/components/AkauntingItemButton.vue index 4b9faaf53..b4d8b2a74 100644 --- a/resources/assets/js/components/AkauntingItemButton.vue +++ b/resources/assets/js/components/AkauntingItemButton.vue @@ -299,10 +299,9 @@ export default { }, onInput() { - this.isItemMatched = false; //to remove the style from first item on input change (option) - //to optimize performance we kept the condition that checks for if search exists or not if (!this.search) { + this.isItemMatched = false; //to remove the style from matched item on input is cleared (option) return; }