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-collapsible dynamic data title?

    Help
    2
    3
    780
    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.
    • ssuess
      ssuess last edited by

      Is it possible (instead of hand coding labels like ‘First’, ‘Second’, etc) to make the label for a q-collapsible a dynamic data (or computed even) attribute?

      1 Reply Last reply Reply Quote 0
      • rstoenescu
        rstoenescu Admin last edited by

        Bind a scope variable to the title property. Same applies for any Quasar components properties.

        <q-collapsible :title="someVar" ....>
        
        1 Reply Last reply Reply Quote 1
        • ssuess
          ssuess last edited by

          Thanks! I will try that.

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