-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validation from documentation example doesn't work #99
Comments
You have to import and mixin EmberValidations onto the model |
Generally, I did so
But validation still doesn't work |
If you're on the latest ember-validations, you have to extend EmberValidations.Mixin |
I'm running into this issue also. I have the following definition
however it seems validations are being ignored completely.
|
I found what the problem was. It seems that adding the validations on the reopenClass doesn't work. It should be done on reopen instead.
|
I'm trying to implement validation example from here
http://indexiatech.github.io/ember-forms/quickexample
Model:
Template:
But when I try to enter invalid text to username field - nothing happened
The text was updated successfully, but these errors were encountered: