Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML ComboBox customize auto-completion behaviour
Forum Updated to NodeBB v4.3 + New Features

QML ComboBox customize auto-completion behaviour

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 218 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    fabf98
    wrote on last edited by fabf98
    #1

    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 ?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved