I’m currently trying to get a specific field from a belongsTo association on one of my models. My code looks something like this
fieldsRequired = this.content.get('state.fieldsRequired');
This returns null. However, if I dump the state object and look at the _data.attributes object, fieldsRequired has the data that is in the database. Furthermore, I can place it in my templates and everything works just fine.
It seems that this is the case for all associations. Any integer/string fields are set to null, and any boolean fields are set to false, but only when I try to perform a direct get(). Has anyone else experienced this issue?