From bd94f293bce78571bd02d92adc21f1811de51a01 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Thu, 22 Jun 2023 20:15:44 +0200 Subject: [PATCH] fix(NcActionInput): Show trailing button even for empty input if it is enabled Signed-off-by: Ferdinand Thiessen --- src/components/NcActionInput/NcActionInput.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/NcActionInput/NcActionInput.vue b/src/components/NcActionInput/NcActionInput.vue index 6599f12d19..043a28e731 100644 --- a/src/components/NcActionInput/NcActionInput.vue +++ b/src/components/NcActionInput/NcActionInput.vue @@ -202,7 +202,7 @@ For the multiselect component, all events will be passed through. Please see the :disabled="disabled" :input-class="{ focusable: isFocusable }" trailing-button-icon="arrowRight" - :show-trailing-button="showTrailingButton && value !== '' && !disabled" + :show-trailing-button="showTrailingButton && !disabled" v-bind="$attrs" v-on="$listeners" @trailing-button-click="$refs.form.requestSubmit()" @@ -230,7 +230,7 @@ For the multiselect component, all events will be passed through. Please see the :input-class="{ focusable: isFocusable }" :type="type" trailing-button-icon="arrowRight" - :show-trailing-button="showTrailingButton && value !== '' && !disabled" + :show-trailing-button="showTrailingButton && !disabled" v-bind="$attrs" v-on="$listeners" @trailing-button-click="$refs.form.requestSubmit()"