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

    routing to a url with parameter id

    Help
    3
    3
    5324
    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.
    • aminnagpure
      aminnagpure last edited by

      i have a issue tickets table, where there are tickets for issues are stored,

      now in tickets display page

      tickets are displayed with subject, date,solved or not

      its a list

      iam working on quasar framework

      how to i pass a issue link to another component, on the basis of id, i want to show the ticket

      <router-link to="/viewticket/" +ticket.id >view ticket</router-link>

      iam unable to find any straight way, i wished this should be available to make things simple

      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        @aminnagpure - See if this helps you.

        https://router.vuejs.org/guide/essentials/dynamic-matching.html

        Scott

        1 Reply Last reply Reply Quote 0
        • Hawkeye64
          Hawkeye64 last edited by

          @aminnagpure In my production app at work, if user double-clicked on a table row, it took them to new page (url + id). We found this really doesn’t work for us because if user refreshes, then the implementation was rerun. Not all situation will be like this. But, to overcome this, I used vuex store to keep the id and on second page, when it is mounted, read it, then clear it from the store. This workflow worked out much better for us.

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