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
class VM {
get isValid() {
// var fullName = this.user.fullName
return this.user.isValid();
}
}
class User {
isValid() {
return this.fullName.length > 0;
}
}
isValid is not updated. But if we uncomment var fullName it is.
I suggest adding something like
@computedFrom('user.fullName')
get isValid() {
return this.user.isValid();
}
The text was updated successfully, but these errors were encountered:
For example
isValid
is not updated. But if we uncommentvar fullName
it is.I suggest adding something like
The text was updated successfully, but these errors were encountered: