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

519
Vistas
How can i add an image to q-button-dropdown(Quasar framework dropdown)

I am creating a locale selector with vue3 and quasar, It is a dropdown that shows the current language and lets user the select a new one from the list. The problem is q-btn-dropdown does not take image as a prop(yes i read the docs btw) I do not want to use icon i need to use selectedLanguage.flag to get the current image, i have to bind it How can i do this? Here is my code so far...

q-btn-dropdown(color="white" :label="selectedLanguage.language" dropdown-icon="none" text-color="black")
    q-list
      q-item(v-for="(language, i) in getLanguages()" :key="i" @click="changeLocale(language.locale)" clickable v-close-popup)
        q-item-section
          q-img(:src="language.flag")
          q-item-label {{ language.language }}```
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