From b15e6202c96350cc8f2ce182cf227407a0537d4d Mon Sep 17 00:00:00 2001 From: Hugo Zigha Date: Tue, 7 Jan 2025 17:20:40 +0100 Subject: [PATCH] MT#61710 change inputs behavior Bin icon misplaced bug fixed by changing the css class. This commit also improve input behaviors. With the Vue 3 migration it seems that $atts doesn't overwrite binded attributes anymore, so we had two clear buttons on inputs. To prevent this the following steps have been taken: * custom clear button is switched on only when the attribute "value" is used. * native clear button is switched on in all other cases This should avoid adding regressions. Change-Id: I39f41ce8d461efc5eff5c7e541d227dbfd6c667d (cherry picked from commit b13bf52a45d3eec7b5c0397e762e469d9f7be99d) --- src/components/form/CscInput.vue | 9 +-------- .../pages/Conversations/CscConversationsFilter.vue | 4 ++-- src/pages/CscPageHome.vue | 2 +- src/pages/CscPagePbxDeviceDetails.vue | 2 +- 4 files changed, 5 insertions(+), 12 deletions(-) diff --git a/src/components/form/CscInput.vue b/src/components/form/CscInput.vue index a741a535..75eabcb3 100644 --- a/src/components/form/CscInput.vue +++ b/src/components/form/CscInput.vue @@ -27,7 +27,7 @@ name="append" />