No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    q-select popup style

    Help
    3
    3
    1095
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cjmendoza last edited by

      No luck in trying to style the q-select popup content. Can someone show a sample code. I have tried ‘popup-content-class’ and ‘popup-content-style’ but cannot get anything to work.

      1 Reply Last reply Reply Quote 0
      • M
        mKomo last edited by mKomo

        Can you be a bit more specific in what you’re trying to do?

        You can style the label for example via:

        {
                  label: '<span class="text-primary">G</span>oogle',
                  value: 'Google'
        },
        

        Taken from the docs

        1 Reply Last reply Reply Quote 0
        • metalsadman
          metalsadman last edited by metalsadman

          @cjmendoza use popup-content-class or popup-content-style props https://v1.quasar-framework.org/vue-components/select#API--QSelect. example https://codepen.io/metalsadman/pen/axMKKo

          pop-content-class refers to a CSS class, while popup-content-style you need to pass your style object definition it’s there in the api doc.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post