From 4ee8d290a5d45ce93419c819a6e7544d3a009b99 Mon Sep 17 00:00:00 2001 From: Yoshie Muranaka Date: Thu, 20 Feb 2020 07:29:58 -0800 Subject: Create password visibility toggle Reusable component to show/hide password input fields, added to local user form. Signed-off-by: Yoshie Muranaka Change-Id: I90fb865e51d99788a225812b057f4d8bacad1bc8 --- .../LocalUserManagement/ModalUser.vue | 80 ++++++++++++---------- 1 file changed, 43 insertions(+), 37 deletions(-) (limited to 'src/views/AccessControl/LocalUserManagement/ModalUser.vue') diff --git a/src/views/AccessControl/LocalUserManagement/ModalUser.vue b/src/views/AccessControl/LocalUserManagement/ModalUser.vue index d156c3da..448276b5 100644 --- a/src/views/AccessControl/LocalUserManagement/ModalUser.vue +++ b/src/views/AccessControl/LocalUserManagement/ModalUser.vue @@ -77,48 +77,52 @@ Password must between 8 – 20 characters - - - - - + + + + + + + - - - - - + + + + + + + @@ -145,8 +149,10 @@ import { requiredIf } from 'vuelidate/lib/validators'; import VuelidateMixin from '../../../components/Mixins/VuelidateMixin.js'; +import InputPasswordToggle from '../../../components/Global/InputPasswordToggle'; export default { + components: { InputPasswordToggle }, mixins: [VuelidateMixin], props: { user: { -- cgit v1.2.3