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
    1. Home
    2. vrn.dev
    3. Posts
    V
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 3
    • Best 0
    • Groups 0

    Posts made by vrn.dev

    • Boot File Order

      What order is the Quasar v1.0 boot files loaded? Does it follow the order of the array in the quasar.conf.js or the order cannot be guaranteed?

      posted in Help
      V
      vrn.dev
    • RE: Single Selection on datatable activating all checkboxes

      Thanks for pointing that out. For some reason I was under the impression row-key="name" referred to the name field in the column array

      posted in Help
      V
      vrn.dev
    • Single Selection on datatable activating all checkboxes

      I have been trying to use the single selection feature on datatables on v1.0.0-beta.18 and I am facing an issue where I need a single selection on a row, when I select any row checkbox, all rows are selected, but only the selected row is showing up on the selected array.

      Template:

      <q-table
      :data="tenants"
      :columns="columns"
      row-key="name"
      :filter="search"
      selection="single"
      :selected.sync="selected"
      >
        <template v-slot:top-right>
          <q-input borderless dense debounce="300" v-model="search" placeholder="Search">
          <template v-slot:append>
            <q-icon name="search"/>
            <q-btn flat round icon="cancel" @click="resetSearch"/>
          </template>
        </q-input>
      </template>
      </q-table>
      

      Script:

      data: () => ({
          search: '',
          tenants: [],
          selected: [],
          columns: [
            {
              name: 'uid',
              label: 'UID',
              field: 'uid',
              required: true,
            }, ... etc
      

      Screenshot attached. As it can be seen only first row is selected (ripple is still seen)
      Screen Shot 2019-04-24 at 2.35.00 PM.png

      Would appreciate any help to trouble shoot this issue.

      PS: ‘QCheckbox’ is registered in quasar config file

      posted in Help
      V
      vrn.dev