Fixed #5593 - Hydration defects

This commit is contained in:
tugcekucukoglu 2024-04-16 12:35:02 +03:00
parent 8365a30f5b
commit 6615f31d8a
30 changed files with 120 additions and 151 deletions

View file

@ -77,11 +77,8 @@ export default {
};
},
watch: {
'$attrs.id': {
immediate: true,
handler: function (newValue) {
this.id = newValue || UniqueComponentId();
}
'$attrs.id': function (newValue) {
this.id = newValue || UniqueComponentId();
}
},
mediumCheckRegExp: null,
@ -90,6 +87,7 @@ export default {
scrollHandler: null,
overlay: null,
mounted() {
this.id = this.id || UniqueComponentId();
this.infoText = this.promptText;
this.mediumCheckRegExp = new RegExp(this.mediumRegex);
this.strongCheckRegExp = new RegExp(this.strongRegex);