You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the upgrade to ember-data 1.0.0-beta.14.1 (1.0.0-beta.12) I get this error: Uncaught TypeError: Cannot read property 'children' of undefined at select-2.js:293:
file.rootCategoryChildren is initially null, when another value is selected, it's populated.
This is the select-2 input which causes file.rootCategoryChildren to be populated, which seems almost the same, but it works:
I'm also having this issue. Its because the models we have fetched have an attribute called 'children' which causes them to be misconstrued as having nested content. Is there any way to reconfigure this to tell it that either A. They don't have nested content or B. To use some other attribute name for children?
After the upgrade to ember-data 1.0.0-beta.14.1 (1.0.0-beta.12) I get this error:
Uncaught TypeError: Cannot read property 'children' of undefined
atselect-2.js:293
:this is the template:
file.rootCategoryChildren
is initiallynull
, when another value is selected, it's populated.This is the select-2 input which causes
file.rootCategoryChildren
to be populated, which seems almost the same, but it works:and this is the function which populates
rootCategoryChildren
:The original
availableCategories
array comes from the backend, via DS.Model and a rails-api backendThe text was updated successfully, but these errors were encountered: