Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

120
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda