Optgroup from html equivalent in qml

  • Is there an equivalent for optgroup in qml?
    Can I do something like this
    <optgroup label="group1">
    <option value="1">1</option>
    <optgroup label="group2">
    <option value="2">2</option>
    or do I have to re-implement this functionality? I tried enabled: false on list elements, but this does not work. Can anyone point me the best direction to solving this problem? Thanks in advance.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.