Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.7
-
None
Description
When using a JavaScript array of objects, the magical "model" property does not get populated as one would expect. modelData is a valid workaround, but it would be nice to not need it. See attached example.
A console.log(model) reveals that model is of type QQmlDMListAccessorData, leading me to think that the problem is somewhere inside QtQml's adaptation of this type.. but I haven't looked at the code in question at all really.
Attachments
Issue Links
- relates to
-
QTBUG-84107 Using object list (array) as a model unable to track changes
- Closed