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
The way the ItemsComponentModel is written with regards to _items breaks backward compatibility with existing functionality unnecessarily. _items is replaced by a Collection of Models which makes any existing code relying on _items being an array of objects stop working at this line toJSON is then overridden to compensate, at this line
Expected behaviour
_items should return an array of objects. _children should represent the collection, as with the other models.
The text was updated successfully, but these errors were encountered:
Subject of the issue/enhancement/features
The way the
ItemsComponentModel
is written with regards to_items
breaks backward compatibility with existing functionality unnecessarily._items
is replaced by a Collection of Models which makes any existing code relying on_items
being an array of objects stop working at this linetoJSON
is then overridden to compensate, at this lineExpected behaviour
_items
should return an array of objects._children
should represent the collection, as with the other models.The text was updated successfully, but these errors were encountered: