Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.7, 6.8
-
43f7e0a65 (dev), b80933aed (6.8), e8db46a66 (6.7), 3157d863c (tqtc/lts-6.5)
Description
The TableModel::appendRow() method does not work as documented (https://doc.qt.io/qt-6/qml-qt-labs-qmlmodels-tablemodel.html).
When calling TableModel::appendRow(), the following error is encountered, and the new row is not added:
QML TableModel: appendRow(): expected "row" argument to be a QJSValue, but got QVariantMap instead:
To reproduce the issue, run the attached example project.
The issue doesn't appear in Qt 6.6.3