Skip to content

Commit

Permalink
fix: 🐛 fix DsfrTooltip type button in form (on click submit form beca…
Browse files Browse the repository at this point in the history
…use no type on it)
  • Loading branch information
iNeoO committed Oct 16, 2024
1 parent bb4d8d4 commit 4a17c43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/DsfrTooltip/DsfrTooltip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ const onClick = () => {
:is="onHover ? 'a' : 'button'"
:id="`link-${id}`"
ref="source"
:type="onHover ? null : 'button'"
:class="onHover ? 'fr-link' : 'fr-btn fr-btn--tooltip'"
:aria-describedby="id"
:href="onHover ? '#' : undefined"
Expand Down

0 comments on commit 4a17c43

Please sign in to comment.