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

230
Views
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
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!