We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I created a Vuetify text-field a my password input:
<v-text-field name="password" id="password" v-model="password" type="password" :rules="passwordRules" required >
Appended the following <password v-model="password" :strength-meter-only="true"/>
<password v-model="password" :strength-meter-only="true"/>
The meter fill should be filled with the score
The meter is not updated
The event emitted by the component has an empty payload, caused by:
watch: { value (newValue) { if (this.strengthMeterOnly) { this.emitValue(newValue) } } }
While emitValue expects two arguments
emitValue
methods: { emitValue (type, value) { this.$emit(type, value) this.password = value } }
Therefore setting this.password to undefined
this.password
undefined
The text was updated successfully, but these errors were encountered:
Oh yeah, good catch.
I did refactor the emitValue method and added a type and forgot to change the watcher.
Sorry, something went wrong.
ed135c9
No branches or pull requests
I created a Vuetify text-field a my password input:
Appended the following
<password v-model="password" :strength-meter-only="true"/>
Expected Behavior
The meter fill should be filled with the score
Actual Behavior
The meter is not updated
I did some digging
The event emitted by the component has an empty payload, caused by:
While
emitValue
expects two argumentsTherefore setting
this.password
toundefined
Environment
The text was updated successfully, but these errors were encountered: