Open on mounted problem solved

pull/2933/head
Bahadir Sofuoglu 2022-09-04 18:55:21 +03:00
parent 537552e1f4
commit 6dd43d9d1e
1 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,6 @@ export default {
this.strongCheckRegExp = new RegExp(this.strongRegex);
if(this.value){
this.d_value = this.value;
this.setPasswordMeter()
}
},
beforeDestroy() {
@ -170,6 +169,7 @@ export default {
onFocus(event) {
this.focused = true;
if (this.feedback) {
this.setPasswordMeter()
this.overlayVisible = true;
}
this.$emit('focus', event);
@ -197,7 +197,7 @@ export default {
this.$emit('keyup', event);
},
setPasswordMeter() {
if(!this.feedback) return;
if(!this.feedback || !this.d_value) return;
const {meter,label} = this.checkPasswordStrength(this.d_value);