Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.12.1
-
5bd799a39d (qt/qtdeclarative/dev) 5bd799a39d (qt/tqtc-qtdeclarative/dev) a46d508ef0 (qt/qtdeclarative/6.3) a46d508ef0 (qt/tqtc-qtdeclarative/6.3) a46d508ef0 (qt/tqtc-qtdeclarative/6.3.1) 2ab284146d (qt/tqtc-qtdeclarative/6.2)
Description
When trying to use autocompletion to input an item into the ComboBox input field which is contained in the model, it fails to clear the selection when it is written according to the model (starting with uppercase vs. lowercase). Have a look at the attached gif.
The model contains Banana, Apple, Coconut, and small.
- When the user enters app (with lowercase) and presses enter, the ComboBox will clear the selection.
- When the user enters App (with uppercase) and presses enter, the ComboBox won't clear the selection. This looks if it won't accept the input.
ComboBox { editable: true model: ListModel { id: model ListElement { text: "Banana" } ListElement { text: "Apple" } ListElement { text: "Coconut" } ListElement { text: "small" } } }
Attachments
For Gerrit Dashboard: QTBUG-75197 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
407819,5 | ComboBox: clear selection when text that matches existing item accepted | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
410497,2 | ComboBox: clear selection when text that matches existing item accepted | 6.3 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
410500,2 | ComboBox: clear selection when text that matches existing item accepted | tqtc/lts-6.2 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |