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

    Some components not really Vuex friendly

    Framework
    modal vuex
    4
    6
    2261
    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.
    • G
      genyded last edited by

      It seems that for components such a Modal. it might be better to have an isOpen boolean property toggle the display. The current open and close methods cannot be derived from a single Vuex boolean state property (such as showLogin). Using the current toggle method would require knowing if the modal was currently open or not and that is messy/tricky.

      This can be worked around but not without extra code making it more complex to use and increase the size of the app. I use modal as an example here, but any component that can be toggled applies here.

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

        Hi, will do. Thinking of adding v-model support to the toggleable components.

        1 Reply Last reply Reply Quote 1
        • LaurentPayot
          LaurentPayot last edited by

          Totally agree.

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

            Can you please open up a github request ticket with “v-model support for toggleable components” so I won’t forget? Thanks!

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

              This would be a great feature

              1 Reply Last reply Reply Quote 0
              • G
                genyded last edited by

                https://github.com/quasarframework/quasar/issues/479

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