From 8f307bc25b07375a7c7cced5d9c53ba38e9e6ce7 Mon Sep 17 00:00:00 2001 From: Luke Romanowicz Date: Tue, 23 Apr 2019 17:36:30 +0200 Subject: [PATCH] fix password input icon - closes #2772 --- .../default/components/core/blocks/Form/BaseInput.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/themes/default/components/core/blocks/Form/BaseInput.vue b/src/themes/default/components/core/blocks/Form/BaseInput.vue index 6d4d11e6ac..bb9aa98a99 100644 --- a/src/themes/default/components/core/blocks/Form/BaseInput.vue +++ b/src/themes/default/components/core/blocks/Form/BaseInput.vue @@ -49,7 +49,7 @@ export default { return { passType: 'password', iconActive: false, - icon: 'visibility' + icon: 'visibility_off' } }, props: { @@ -95,10 +95,10 @@ export default { togglePassType () { if (this.passType === 'password') { this.passType = 'text' - this.icon = 'visibility_off' + this.icon = 'visibility' } else { this.passType = 'password' - this.icon = 'visibility' + this.icon = 'visibility_off' } }, // setFocus sets focus on a field which has a value of 'ref' tag equal to fieldName