-
For my use case I need to disable some options in a Autocomplete component. I know this was possible in vuetify 2 but in version 3 the |
Beta Was this translation helpful? Give feedback.
Answered by
hbgl
Mar 2, 2023
Replies: 1 comment 1 reply
-
I found a solution. This does not work: <v-autocomplete
label="Foo"
:items="[
{ title: 'A', value: 1, disabled: true },
{ title: 'B', value: 2 },
{ title: 'C', value: 3 },
]"
/> This works: <v-autocomplete
label="Foo"
item-props="props"
:items="[
{ title: 'A', value: 1, props: { disabled: true } },
{ title: 'B', value: 2 },
{ title: 'C', value: 3 },
]"
/> |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
hbgl
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found a solution.
This does not work:
This works: