lcoq / ember-validations

Ember-Validations - An Ember.js library for handling object validations
MIT License
122 stars 25 forks source link

Allow automatic validation #7

Closed lcoq closed 11 years ago

lcoq commented 12 years ago

It could be a good feature to have an option which make the validation automatically by listening each property that needs to be validated

ghost commented 12 years ago

Would be cool but only onblur.

lcoq commented 11 years ago

As this library is only related to models, not views, we let the user choose how handle validation in the views. Basically, it will be an handlebar helper, or by subclassing a view (e.g. Ember.TextField), and re-call validate when desired.

Anyway, I will be glad to see how users are using them.