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

166
Views
Obtener v-model de un campo selector de archivos quasar

En una aplicación vue que usa quasar, tengo tres campos de selección de archivos, y cuando uno de esos campos cambia, quiero llamar a una función específica. Quiero poder pasar el modelo v como una variable a la función para poder actualizar el modelo v usando la función.

Ver más descripción del problema en la descripción de la función onSelected.

Por ejemplo, es posible que desee vincular el modelo v de cualquier campo que se haya cambiado a una nueva variable. Entonces, ¿cómo le diría a la función qué modelo v se pasó en el evento @change?

 <q-file v-model="fieldOne" @change="onSelected()" ></q-file> <q-file v-model="fieldTwo" @change="onSelected()" ></q-file> <q-file v-model="fieldThree" @change="onSelected()" ></q-file> function onSelected(event) { // I would like to update the v-model of the field that was // subject to the @change event. event.target.value doesn't // work. How to I work with the specific v-model that // triggered //the @change event? }
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!