Closed Enome closed 13 years ago
Instead of adding isValid Validation.validate will now return true or false.
A global isValid would be nice for a common use case like disabling form submit button if there is any invalid field.
Sounds great I'll add it to features.
At the moment it just runs validate on all validators in the cache. But validation should also have a isValid observable.
Something like:
validation.validate();
Maybe isValid should execute validate on all validators.