diff --git a/changelog/unreleased/enhancement-add-password-policy-compatibility b/changelog/unreleased/enhancement-add-password-policy-compatibility index 92a4a12465b..f0ebc37c73f 100644 --- a/changelog/unreleased/enhancement-add-password-policy-compatibility +++ b/changelog/unreleased/enhancement-add-password-policy-compatibility @@ -8,5 +8,6 @@ https://github.com/owncloud/web/pull/9634 https://github.com/owncloud/web/pull/9686 https://github.com/owncloud/web/pull/9688 https://github.com/owncloud/web/pull/9735 +https://github.com/owncloud/web/pull/9736 https://github.com/owncloud/web/issues/9638 https://github.com/owncloud/web/issues/9657 diff --git a/packages/design-system/src/components/_OcTextInputPassword/_OcTextInputPassword.vue b/packages/design-system/src/components/_OcTextInputPassword/_OcTextInputPassword.vue index 20eb65f1271..33e9610c4b4 100644 --- a/packages/design-system/src/components/_OcTextInputPassword/_OcTextInputPassword.vue +++ b/packages/design-system/src/components/_OcTextInputPassword/_OcTextInputPassword.vue @@ -11,6 +11,7 @@ v-model="password" :type="showPassword ? 'text' : 'password'" ref="passwordInput" + @input="onPasswordEntered" /> { + passwordEntered.value = true + } + const focus = () => { unref(passwordInput).focus() } watch(password, (value) => { - passwordEntered.value = true - if (!Object.keys(props.passwordPolicy).length) { return } @@ -174,6 +177,7 @@ export default defineComponent({ copyPasswordIcon, showPasswordPolicyInformation, testedPasswordPolicy, + onPasswordEntered, generatePassword, getPasswordPolicyRuleMessage, copyPasswordToClipboard