diff --git a/components/lib/password/Password.vue b/components/lib/password/Password.vue index a2ec8725d..7645e6bdc 100755 --- a/components/lib/password/Password.vue +++ b/components/lib/password/Password.vue @@ -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); diff --git a/doc/passthrough/DeclarativeDoc.vue b/doc/passthrough/DeclarativeDoc.vue new file mode 100644 index 000000000..82eb25679 --- /dev/null +++ b/doc/passthrough/DeclarativeDoc.vue @@ -0,0 +1,53 @@ + + + diff --git a/pages/passthrough/index.vue b/pages/passthrough/index.vue index 108ec3bde..9b37fa0b8 100644 --- a/pages/passthrough/index.vue +++ b/pages/passthrough/index.vue @@ -18,6 +18,7 @@