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

    (v-1..3b) Uploader in Carousel/Stepper/TabPanel

    Framework
    1
    1
    150
    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.
    • U
      uberpu last edited by

      Persistence seems to be broken when switching between frames in QCarousel, QStepper and QTabPanel. I am making an app that is essentially a wizard, and each frame has a different dialog to complete. In my first run at this I ended up using a Carousel with each frame calling a module to encapsulate the logic for each step. The first step used an uploader. After switching to beta, I ported my code. I was a bit dismayed when, after clicking to frame two and the backing up to the uploader frame, that my uploader was fully reset.
      My quandary is:
      Is this is the intended behavior for the carousel, tab-panel and stepper components moving forward?
      Is there a plan to maintain state for these components?
      Is the uploader behaving correctly?

      It’s a small project, and re-rendering each component, or, for that matter, duplicating the data in order to preserve state, seems a complete waste of resources, considering that the browser is just sitting there holding the end result.

      For clarification the DOM looks like this:

      Layout.vue
      –> Page.vue
      ----> (QCarousel || QTabPanel || QStepper)
      ------>[frame] > Component1.vue (w uploader)
      ------>[frame] > Component2.vue … etc.

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