mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +00:00
fix(pagination-nav)!: use 1-indexing to be consistent with Pagination
(#1518)
Fixes #1513
This commit is contained in:
parent
9198ed5474
commit
8d55752a18
7 changed files with 49 additions and 31 deletions
|
@ -34,7 +34,7 @@
|
|||
>
|
||||
<option value="" hidden></option>
|
||||
{#each Array.from({ length: count }, (_, i) => i) as i}
|
||||
<option value="{fromIndex + i}" data-page="{fromIndex + i + 1}">
|
||||
<option value="{fromIndex + i + 1}" data-page="{fromIndex + i + 1}">
|
||||
{fromIndex + i + 1}
|
||||
</option>
|
||||
{/each}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue