mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(pagination): fix pagination select page regression
This commit is contained in:
parent
ffa4ac08f3
commit
dadb7b5f9d
1 changed files with 2 additions and 6 deletions
|
@ -37,20 +37,16 @@
|
|||
<div class:bx--pagination__left={true}>
|
||||
<label
|
||||
id="bx--pagination-select-{id}-count-label"
|
||||
class:bx--pagination__text={true}
|
||||
for="bx--pagination-select-{id}">
|
||||
for="bx--pagination-select-{id}"
|
||||
class:bx--pagination__text={true}>
|
||||
{itemsPerPageText}
|
||||
</label>
|
||||
<Select
|
||||
id="bx--pagination-select-{id}"
|
||||
class="bx--select__item-count"
|
||||
labelText=""
|
||||
hideLabel
|
||||
noLabel
|
||||
inline
|
||||
on:change={() => {
|
||||
page = 1;
|
||||
}}
|
||||
bind:selected={pageSize}>
|
||||
{#each pageSizes as size, i (size)}
|
||||
<SelectItem value={size} text={size.toString()} />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue