Skip to content

Validation for multiple models #98

@Alimero

Description

@Alimero

How can i use form validations with multiple models? For example:
model: function() {
return Ember.RSVP.hash({
company: this.store.createRecord('company')
accounts: this.store.createRecord('accounts')
});
}
I thought it could be like the following, but it didn't work.
{{em-input property="model.company.name"}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions