Skip to content

'file' attribute is not an object #14

Description

@herzzanu

After installing and setting up the ember-cli-form-data and adding "avatar: DS.attr('file')" to the user model in my case, when inspecting the browser with the Ember inspector I do not get the "avatar" property in the form of an Object.
original

Please also find attached all the settings from the models/user.js, adapters/user.js. fistures/user.js, controller.js and template.hbs.

I'm using Ember CLI Mirage fixtures, Ember Data 2.2.0, and Ember 2.2.0. Any idea what could happen?

adapter
controller
fixtures
model
template

Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions