mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(pagination-nav): set button type="button"
to prevent form submission (#1846)
This commit is contained in:
parent
4a3c697d82
commit
bed073c2f7
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
<li class:bx--pagination-nav__list-item="{true}">
|
<li class:bx--pagination-nav__list-item="{true}">
|
||||||
<button
|
<button
|
||||||
|
type="button"
|
||||||
data-page="{page}"
|
data-page="{page}"
|
||||||
aria-current="{active ? 'page' : undefined}"
|
aria-current="{active ? 'page' : undefined}"
|
||||||
class:bx--pagination-nav__page="{true}"
|
class:bx--pagination-nav__page="{true}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue