Dynamic state disable q-select BUT disable options individually
-
This post is deleted! -
Yes. If you write your options array as a computed property, you can do this:
computed: { options() { return [ { label: 'Google', value: 'GOOGLE' }, { label: 'Facebook', value: 'FACEBOOK' }, { label: 'Twitter', value: 'TWITTER' }, { label: 'Apple', value: 'APPLE', disable: this.selected === 'GOOGLE' }, { label: 'Oracle', value: 'ORACLE' } ]; } }