mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21: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}>
|
<div class:bx--pagination__left={true}>
|
||||||
<label
|
<label
|
||||||
id="bx--pagination-select-{id}-count-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}
|
{itemsPerPageText}
|
||||||
</label>
|
</label>
|
||||||
<Select
|
<Select
|
||||||
id="bx--pagination-select-{id}"
|
id="bx--pagination-select-{id}"
|
||||||
class="bx--select__item-count"
|
class="bx--select__item-count"
|
||||||
labelText=""
|
|
||||||
hideLabel
|
hideLabel
|
||||||
noLabel
|
noLabel
|
||||||
inline
|
inline
|
||||||
on:change={() => {
|
|
||||||
page = 1;
|
|
||||||
}}
|
|
||||||
bind:selected={pageSize}>
|
bind:selected={pageSize}>
|
||||||
{#each pageSizes as size, i (size)}
|
{#each pageSizes as size, i (size)}
|
||||||
<SelectItem value={size} text={size.toString()} />
|
<SelectItem value={size} text={size.toString()} />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue