Browse Source
Fix: button triggering form (#1750)
prevent button from triggering form
pull/1762/head
Bernd Storath
2 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
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> |
|
|
|