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

    QSelect - How to limit number of displayed options?

    Help
    2
    2
    589
    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.
    • S
      SeanO last edited by

      I have a <q-select> with a few dozen options. When expanded, the options list drops down almost to the bottom of the window.

      I’d like to limit the number of options displayed at one time, and can hack it with CSS:
      (.q-menu { max-height: 20em } e.g.)

      I’ve looked through the docs; am I missing a native prop like displayed-options=5 or something?

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

        There’s no native displayed-options of such.

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