Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.4, Some future release
-
-
64c1fbe96c68b1286a70242ff4922be140128cb2 (qt/qtdeclarative/dev)
Description
the when property in State element doesn't accept values such as true, false and 1.
import QtQuick 2.12 State { when: true }
when.qml:4 Invalid property assignment: unsupported type "QQmlBinding*"
Note that it accepts JavaScript code like 1+1.