fix: make autocomplete non clickable if disabled
This commit is contained in:
parent
328959cc39
commit
d91d4765b5
@ -16,7 +16,7 @@
|
|||||||
<button
|
<button
|
||||||
class="relative flex h-7 w-full items-center justify-between gap-2 rounded px-2 py-1 transition-colors"
|
class="relative flex h-7 w-full items-center justify-between gap-2 rounded px-2 py-1 transition-colors"
|
||||||
:class="inputClasses"
|
:class="inputClasses"
|
||||||
@click="() => togglePopover()"
|
@click="() => !disabled && togglePopover()"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
v-if="selectedValue"
|
v-if="selectedValue"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user