Skip to content
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

'file' attribute is not an object #14

Open
herzzanu opened this issue Nov 29, 2015 · 0 comments
Open

'file' attribute is not an object #14

herzzanu opened this issue Nov 29, 2015 · 0 comments

Comments

@herzzanu
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant