Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

111
Views
How can I link my data, so that the checkbox is partially check when one item or + is selected?

I have this issue which I can't figure out and there it is : I have to implement a checkbox for the users to select all folders on my website. But I also want that when one item or more (but not all) are selected, the checkbox shows an hyphen. I'm using Vue.js's framework Quasar for this project, and I'm kinda stuck so any help will be appreciated :)

Here some code of what I already tried, it works for the select all options but can't figure out how to resolve my case:

    <q-option-group
                v-model="folderModification.securityCompanyIDList"
                :options="$store.state.$ItfConnection.securityCompanyOptions"
                color="green"
                type="checkbox"
                :dark="$store.state.$tools.enableDarkMode"
              />
            </q-scroll-area>
          </div>
        </q-expansion-item>
        <q-expansion-item :label="$t('Button_configure_places')" dense dense-toggle
        header-style="font-size: 12px" header-class="text-grey" class="offset-1 col-10">
          <div>
            <q-scroll-area style="width: 100%; height: 300px">

incidentTypeIDListCheck(value) {
      this.folderModification.incidentTypeIDList = []
      if (value) {
        this.$store.state.$ItfConnection.incidentTypeOptions.forEach(incidentTypeOption => {
            this.folderModification.incidentTypeIDList.push(incidentTypeOption.value)
        })
      } 
    },
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!