Important: Please read the Qt Code of Conduct -

QML ComboBox customize auto-completion behaviour

  • If I set "editable: true" in a ComboBox, it automatically completes the input while the user is typing. Apparently this only works when the typed characters are at the beginning of a string inside the model.

    For example:
    In the model of the ComboBos, there is a string "123hello". If the user types "1" or "123", the ComboBox will correctly propose the full string. If the user types "hello" though, there will be no auto-completion.

    Is there a way to customize this behaviour ?

Log in to reply