No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

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

    Framework
    2
    2
    484
    Loading More Posts
    • 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.
    • J
      jayrams last edited by jayrams

      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

      1 Reply Last reply Reply Quote 0
      • J
        joeyezekiel last edited by

        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.

        1 Reply Last reply Reply Quote 1
        • First post
          Last post