Editable combobox | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Editable combobox

I am having a very basic question. I do know what combo box is. It is nothing but a drop down having few items available for use to select. Use can select any one item from available option. Question is about editable combo box. Can someone help me understand what does this mean?

26th Feb 2024, 4:03 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
4 Answers
+ 3
A non-editable combobox allows the textbox to have only values that come from the dropdown choices. An editable combobox lets the user to select from the dropdown and/or to type and edit the textbox string.
26th Feb 2024, 4:22 PM
Brian
Brian - avatar
+ 2
if it is about qt, then maybe this discussion can help you https://forum.qt.io/topic/103061/how-to-create-an-editable-combo-box Your main problem would be coding the validator for your use case. https://doc.qt.io/qt-6/qintvalidator.html
26th Feb 2024, 10:16 PM
Bob_Li
Bob_Li - avatar
+ 1
Thanks Bob_Li and Brian
27th Feb 2024, 2:50 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
+ 1
JaScript I am afraid but what I feel is that this code is irrelevant for the question
28th Feb 2024, 12:26 PM
Ketan Lalcheta
Ketan Lalcheta - avatar