Form Validation in EmberJS



How can i made a form validation on EmberJS in the login and signup forms? I’ve found one ember-cli addon called ember-validations but i think that it didn’t work for my needs because i don’t have any ObjectController. My login route only have one simple controller and i don’t have any model for the user.

Regards mistic


For your case:

Ember-validation is injected into your model. If the validation fails, you can check the errors in your model.

Then it would be easy to implement that into view.