Browse Source

prevent button from triggering form

pull/1750/head
Bernd Storath 2 weeks ago
parent
commit
ded8f4aca9
No known key found for this signature in database GPG Key ID: D6C85685A555540F
  1. 2
      src/app/components/Base/Tooltip.vue

2
src/app/components/Base/Tooltip.vue

@ -5,7 +5,7 @@
class="mx-2 inline-flex h-4 w-4 items-center justify-center rounded-full text-gray-400 outline-none focus:shadow-sm focus:shadow-black"
as-child
>
<button @click="open = !open">
<button type="button" @click="open = !open">
<slot />
</button>
</TooltipTrigger>

Loading…
Cancel
Save