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.

  • 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.

Log in to reply