Skip to content

Commit

Permalink
Merge pull request #4253 from nextcloud/backport/4251/stable7
Browse files Browse the repository at this point in the history
[stable7] fix(NcActionInput): Show trailing button even for empty input
  • Loading branch information
susnux committed Jun 22, 2023
2 parents 9ecd612 + bd94f29 commit f0e7040
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/NcActionInput/NcActionInput.vue
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 f0e7040

Please sign in to comment.