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

229
Vistas
Set item on v-select through a button press -> @change is not triggered

I have a button

<v-btn
  v-if="getEnviroment"
  @click="fillOther"
>
  fillOther
</v-btn>

on the page visible only for local host. A click on this button should select the first element of the v-select.

Setting the item is simple:

fillOther () {
  this.inputForm.tsi = 69
}

The issue is, that the @change Event is not triggered through this.

How can i tigger the @change event on the v-select?

<v-select
  id="TsiAuswahl"
  v-model.trim="inputForm.tsi"
  :items="tsiItems"
  label="Leistungsart"
  item-text="anzeigetext"
  item-value="wert"
  data-test="tsi"
  :return-object="false"
  @change="onChangeTSI"
>
  <template
    v-slot:item="{item }"
  >
    <span :id="'tsiSelect_listItem_' + item.id">{{ item.anzeigetext }}</span>
  </template>
</v-select>

Thank you in advance!

about 4 years ago · Santiago Trujillo
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