mirror of
https://github.com/LukeHagar/skeleton.git
synced 2025-12-10 20:57:46 +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}
|
{:else}
|
||||||
<!-- Numeric Row -->
|
<!-- Numeric Row -->
|
||||||
{#each controlPages as page}
|
{#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 : '...'}
|
{page >= 0 ? page + 1 : '...'}
|
||||||
</button>
|
</button>
|
||||||
{/each}
|
{/each}
|
||||||
|
|||||||
Reference in New Issue
Block a user