summaryrefslogtreecommitdiff
path: root/src/client/app/common/views/components/ui/input.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app/common/views/components/ui/input.vue')
-rw-r--r--src/client/app/common/views/components/ui/input.vue4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/app/common/views/components/ui/input.vue b/src/client/app/common/views/components/ui/input.vue
index bcb87398ba..645062df28 100644
--- a/src/client/app/common/views/components/ui/input.vue
+++ b/src/client/app/common/views/components/ui/input.vue
@@ -23,6 +23,7 @@
@focus="focused = true"
@blur="focused = false"
@keydown="$emit('keydown', $event)"
+ @change="$emit('change', $event)"
:list="id"
>
<input v-else ref="input"
@@ -38,6 +39,7 @@
@focus="focused = true"
@blur="focused = false"
@keydown="$emit('keydown', $event)"
+ @change="$emit('change', $event)"
:list="id"
>
<datalist :id="id" v-if="datalist">
@@ -60,7 +62,7 @@
<div class="suffix" ref="suffix"><slot name="suffix"></slot></div>
</div>
<div class="toggle" v-if="withPasswordToggle">
- <a @click='togglePassword'>
+ <a @click="togglePassword">
<span v-if="type == 'password'"><fa :icon="['fa', 'eye']"/> {{ $t('@.show-password') }}</span>
<span v-if="type != 'password'"><fa :icon="['far', 'eye-slash']"/> {{ $t('@.hide-password') }}</span>
</a>