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-toggle inside d-data-table is not working

    Help
    q-data-table q-toggle
    1
    1
    750
    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.
    • A
      averri last edited by

      I’m using a q-toggle inside a q-data-table as follows and it’s not possible to toggle the component in UI.

      <q-data-table
      :data=“mods”
      :config=“config”
      :columns=“columns”>

          <template slot="col-name" slot-scope="cell">
            <span>{{cell.data}}</span>
          </template>
      
          <template slot="col-enabled" slot-scope="cell">
            <q-toggle v-model="cell.data"/>
          </template>
        </q-data-table>
      

      The ‘mods’ is an array with:

      [{name: ‘quasar’, enabled: true}]

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