q-tree to set selected value using a "value" property like q-select



  • There are times when q-tree is used with multiple items having the same label.
    Could we have an option to add a “value” property and use this to as the selected value instead of the “label”.
    This will distinguish the items without requiring them to have unique label.
    0_1528943957886_7e7c65e2-009e-4227-b67c-b22e09224b06-image.png



  • This question is pretty old but to answer it, the issue here is with the key and not the label. You must have a unique key but you can have any value for your label.