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

    Forcing component reload with different parameters

    Help
    1
    2
    474
    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.
    • D
      dsky last edited by

      If I have a side menu with two links to the same component but with different parameters like so:

      <q-side-link item :to="{name: ‘search’, params: { title: ‘Search A’, param1: ‘a’}}"></q-side-link>
      and
      <q-side-link item :to="{name: ‘search’, params: { title: ‘Search B’, param1: ‘b’}}"></q-side-link>

      If I click on the first link, the component loads. If I now click on the second link, nothing happens because the component is loaded already.

      What can I do to reload it with the new parameters?

      1 Reply Last reply Reply Quote 0
      • D
        dsky last edited by

        Am I the only one having this problem?

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