Skip to content

Commit

Permalink
pkp/pkp-lib#10994 Compensate for preventDefault, which was important …
Browse files Browse the repository at this point in the history
…to avoid triggering forms in some cases
  • Loading branch information
jardakotesovec committed Feb 27, 2025
1 parent b9515c8 commit 131d40a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Button/Button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<component
:is="element"
class="pkpButton"
type="button"
:class="styles"
:href="element === 'a' ? href : false"
:disabled="element === 'a' && !isDisabled ? undefined : isDisabled"
Expand Down

0 comments on commit 131d40a

Please sign in to comment.