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

  • <q-option-group
      @change="val => { model = val }"
        { 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?

  • 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.

Log in to reply