-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
I'm trying to implement validation example from here
http://indexiatech.github.io/ember-forms/quickexample
Model:
`import DS from 'ember-data'`
User = DS.Model.extend
username: DS.attr('string')
email: DS.attr('string')
User.reopen
validations:
username:
presence: true
length:
minimum: 5
`export default User`
Template:
{{#em-form model=model form_layout="inline"}}
{{em-input property="username" value=model.username}}
{{em-input property="email" type='email' value=model.email}}
{{/em-form}}
But when I try to enter invalid text to username field - nothing happened
Metadata
Metadata
Assignees
Labels
No labels