diff --git a/src/components/common/VnChangePassword.vue b/src/components/common/VnChangePassword.vue index 79784f3c5..9d59a3d3f 100644 --- a/src/components/common/VnChangePassword.vue +++ b/src/components/common/VnChangePassword.vue @@ -19,6 +19,8 @@ const changePassDialog = ref(); const passwords = ref({ newPassword: null, repeatPassword: null }); const requirements = ref([]); const isLoading = ref(false); +const showPwd = true; +const showRpPwd = true; const validate = async () => { const { newPassword, repeatPassword, oldPassword } = passwords.value; @@ -79,27 +81,35 @@ defineExpose({ show: () => changePassDialog.value.show() }); autofocus /> - + v-model="passwords.newPassword" + :label="$t('New password')" + :type="showPwd ? 'password' : 'text'" + hint="" + filled + > + + +