Skip to content

Commit

Permalink
fix(NcActionInput): Show trailing button even for empty input if it i…
Browse files Browse the repository at this point in the history
…s enabled

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux authored and backportbot-nextcloud[bot] committed Jun 22, 2023
1 parent 9ecd612 commit bd94f29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/NcActionInput/NcActionInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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()"
Expand Down Expand Up @@ -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()"
Expand Down

0 comments on commit bd94f29

Please sign in to comment.