From d8e548ce46782695f4c45b0c81486924ebb77922 Mon Sep 17 00:00:00 2001 From: upsiflu Date: Mon, 24 Feb 2025 10:39:47 +0100 Subject: [PATCH] fix(ui): pill causes no submit in forms when clicked --- front/src/components/ui/Pill.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/front/src/components/ui/Pill.vue b/front/src/components/ui/Pill.vue index 0d164627d..06e0a7498 100644 --- a/front/src/components/ui/Pill.vue +++ b/front/src/components/ui/Pill.vue @@ -32,6 +32,8 @@ const sanitizeAndBlur = () => :is="model ? 'label' : 'button'" class="funkwhale pill" :class="props.noUnderline && 'no-underline'" + :is="model ? 'label' : 'button'" + :type="model ? undefined : 'button'" v-bind="color(props, ['interactive', 'secondary'])()" @click.stop="handleClick" >