mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-19 14:31:47 +01:00
fix(SelectCustom): avoid submitting to form when closing (#83)
This commit is contained in:
committed by
GitHub
parent
8776929f63
commit
cf1b2cdd13
@@ -13,7 +13,7 @@
|
||||
|
||||
<ComboboxButton ref="trigger" v-slot="{ disabled }" as="div">
|
||||
<slot :open="open" :disabled="disabled">
|
||||
<button :class="selectCustomClass" :disabled="disabled">
|
||||
<button :class="selectCustomClass" :disabled="disabled" type="button">
|
||||
<slot name="label">
|
||||
<span v-if="modelValue" class="block truncate">{{ modelValue[textAttribute] }}</span>
|
||||
<span v-else class="block truncate u-text-gray-400">{{ placeholder }}</span>
|
||||
|
||||
Reference in New Issue
Block a user