mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Fixed #5304 - Password: after reset password meter not reset
This commit is contained in:
parent
45fb504295
commit
41d3250a0a
1 changed files with 6 additions and 1 deletions
|
@ -182,7 +182,12 @@ export default {
|
|||
}
|
||||
},
|
||||
setPasswordMeter() {
|
||||
if (!this.modelValue) return;
|
||||
if (!this.modelValue) {
|
||||
this.meter = null;
|
||||
this.infoText = this.promptText;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
const { meter, label } = this.checkPasswordStrength(this.modelValue);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue