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



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



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