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-checkbox with array

    Help
    2
    4
    1861
    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.
    • krsyoung
      krsyoung last edited by

      Has any body find a nice approach to make use of the <q-checkbox/> when using multiple checkboxes and a single array? Raw Vue does it using id and value: https://vuejs.org/v2/guide/forms.html#Checkbox

      Not sure if it is worth trying to tweak https://github.com/quasarframework/quasar/blob/dev/src/vue-components/checkbox/Checkbox.vue for this or rather just go native?

      Appreciate any suggestions!

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

        Hi, Checkbox and Toggle support for array model will be available in v0.14 (code already pushed).

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

          Awesome, thanks @rstoenescu!

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

            For the record, in the meantime I just used the straight-up Vue array handling which has worked nicely until 0.14 is ready 🙂

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