fix: make autocomplete non clickable if disabled

This commit is contained in:
Shariq Ansari 2025-07-10 17:06:58 +05:30
parent 328959cc39
commit d91d4765b5

View File

@ -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"