Skip to content

Commit

Permalink
fix(pagination-nav): set button type="button" to prevent form submi…
Browse files Browse the repository at this point in the history
…ssion (#1846)
  • Loading branch information
metonym authored Nov 18, 2023
1 parent 4a3c697 commit bed073c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PaginationNav/PaginationItem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

<li class:bx--pagination-nav__list-item="{true}">
<button
type="button"
data-page="{page}"
aria-current="{active ? 'page' : undefined}"
class:bx--pagination-nav__page="{true}"
Expand Down

0 comments on commit bed073c

Please sign in to comment.