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

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