mirror of
https://github.com/LukeHagar/skeleton.git
synced 2025-12-10 12:47:45 +00:00
bugfix/disable-paginator-numeric-row (#2269)
This commit is contained in:
5
.changeset/mighty-starfishes-leave.md
Normal file
5
.changeset/mighty-starfishes-leave.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@skeletonlabs/skeleton": patch
|
||||
---
|
||||
|
||||
bugfix: Numeric row is now disabled when using the prop `disabled` on the Paginator.
|
||||
@@ -227,7 +227,7 @@
|
||||
{:else}
|
||||
<!-- Numeric Row -->
|
||||
{#each controlPages as page}
|
||||
<button type="button" class="{buttonClasses} {classesButtonActive(page)}" on:click={() => gotoPage(page)}>
|
||||
<button type="button" {disabled} class="{buttonClasses} {classesButtonActive(page)}" on:click={() => gotoPage(page)}>
|
||||
{page >= 0 ? page + 1 : '...'}
|
||||
</button>
|
||||
{/each}
|
||||
|
||||
Reference in New Issue
Block a user