Browse Source

Fix: button triggering form (#1750)

prevent button from triggering form
pull/1762/head
Bernd Storath 2 weeks ago
committed by GitHub
parent
commit
499fb096b6
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  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