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

    Is it possible to make an option in an option group non selectable?

    Framework
    1
    2
    290
    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.
    • P
      paul last edited by

      <q-option-group
        type="radio"
        :value="model"
        @change="val => { model = val }"
        :options="[
          { label: 'Option 1', value: 'op1' },
          { label: 'Option 2', value: 'op2' },
          { label: 'Option 3', value: 'op3' }
        ]"
      />
      

      Would it be possible to specificy that e.g. op2 is non selectable?
      cheers
      paul.

      1 Reply Last reply Reply Quote 0
      • P
        paul last edited by

        ok, found it out.
        you can set directly on the options: disable or readonly.
        Oh boy, Quasar is sooo great. What an amazing quality and comfort.
        Kudos to the dev team.

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