diff --git a/src/components/NcActionInput/NcActionInput.vue b/src/components/NcActionInput/NcActionInput.vue
index 41444990b8..238fd6a1f9 100644
--- a/src/components/NcActionInput/NcActionInput.vue
+++ b/src/components/NcActionInput/NcActionInput.vue
@@ -33,6 +33,11 @@ For the multiselect component, all events will be passed through. Please see the
+
+
+
+
+
@@ -45,6 +50,12 @@ For the multiselect component, all events will be passed through. Please see the
Password placeholder
+
+
+
+
+ Password placeholder
+
@@ -191,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="value !== '' && !disabled"
+ :show-trailing-button="showTrailingButton && value !== '' && !disabled"
v-bind="$attrs"
v-on="$listeners"
@trailing-button-click="$refs.form.requestSubmit()"
@@ -219,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="value !== '' && !disabled"
+ :show-trailing-button="showTrailingButton && value !== '' && !disabled"
v-bind="$attrs"
v-on="$listeners"
@trailing-button-click="$refs.form.requestSubmit()"
@@ -349,6 +360,13 @@ export default {
type: Boolean,
default: null,
},
+ /**
+ * Attribute forwarded to the underlining NcPasswordField and NcTextField
+ */
+ showTrailingButton: {
+ type: Boolean,
+ default: true,
+ },
},
emits: [
diff --git a/src/components/NcPasswordField/NcPasswordField.vue b/src/components/NcPasswordField/NcPasswordField.vue
index 79cd220079..7533c03652 100644
--- a/src/components/NcPasswordField/NcPasswordField.vue
+++ b/src/components/NcPasswordField/NcPasswordField.vue
@@ -97,7 +97,7 @@ export default {