+ 1

QT Combobox | Editable but not able to filter based on text

Hi I have created a combo box using QT's QComboBox. I make it editable by setEditable and now it allows me to write any random value on combo box. What I need is filtrations. For example, I have a combo box with values filled as ketan, india, junagadh,kamal. If I type k, it should show me ketan and kamal as both of these two items are available in combo box. seteditable makes me type k now, but it still does not show applicable items present in combo based on typed text. Am i missing anything ? How to achieve this?

7th Mar 2024, 9:06 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
2 odpowiedzi
7th Mar 2024, 9:24 AM
Bob_Li
Bob_Li - avatar
0
Let me check it.
7th Mar 2024, 11:37 AM
Ketan Lalcheta
Ketan Lalcheta - avatar