We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7649c94 commit 49f10b5Copy full SHA for 49f10b5
1 file changed
src/components/NcPasswordField/NcPasswordField.vue
@@ -325,10 +325,10 @@ export default {
325
326
watch: {
327
model(newValue) {
328
- if (this.checkPasswordStrength) {
329
- if (passwordPolicy === null) {
330
- return
331
- }
+ // Reset internal validation state on value change
+ this.isValid = undefined
+ this.internalHelpMessage = ''
+ if (newValue && this.checkPasswordStrength) {
332
this.checkPassword(newValue)
333
}
334
},
0 commit comments