Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.2, 6.8.0 Beta2
-
Windows 10 22H2, Qt Creator 14.0.0-RC1
-
468fe4007 (dev), 68d571191 (6.8)
Description
Code
import QtQuick import QtQuick.Controls.Basic Window { id: root width: 800 height: 600 visible: true color: combo.currentText ComboBox { id: combo model: ["red", "green", "blue"] } Component.onCompleted: console.log(root.color) onColorChanged: (col) => console.log(col) }
Outcomes
(Expected) Typing a dot at the end of the first console.log() produces a list that is related to the color type:
(Not Expected) Typing a dot at the end of the second console.log() produces a list that is not related to the color type (Qt 6.7.2) or no list at all (Qt 6.8.0-beta2):