You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 25, 2017. It is now read-only.
uniqueUsername: function (val) {
return !this.usernameExists;
}
and a method
usernameKeyup: function () {
var self = this;
Vue.http.post('/username', { username: this.username }).then(function (res) {
if (res.data.success) {
self.usernameExists = res.data.object;
}
}).catch(function (res) {
console.log(res);
});
}
When the usernameExists changes the validation is not re-evaluating, only when I go to next input it shows the correct validation. Is there any way that I could manually re-evaluate for single input?
The text was updated successfully, but these errors were encountered:
I have custom validation
and a method
When the usernameExists changes the validation is not re-evaluating, only when I go to next input it shows the correct validation. Is there any way that I could manually re-evaluate for single input?
The text was updated successfully, but these errors were encountered: