mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
fix(pagination): Remove on:change
closure as the page
variable is bound to the component
This commit is contained in:
parent
7119feb4ad
commit
31f8e500b3
1 changed files with 0 additions and 3 deletions
|
@ -68,9 +68,6 @@
|
||||||
labelText={`Page number, of ${totalPages} pages`}
|
labelText={`Page number, of ${totalPages} pages`}
|
||||||
inline
|
inline
|
||||||
hideLabel
|
hideLabel
|
||||||
on:change={({ detail }) => {
|
|
||||||
page = Number(detail);
|
|
||||||
}}
|
|
||||||
bind:defaultValue={page}>
|
bind:defaultValue={page}>
|
||||||
{#each selectItems as size, i (size)}
|
{#each selectItems as size, i (size)}
|
||||||
<SelectItem value={size + 1} text={(size + 1).toString()} />
|
<SelectItem value={size + 1} text={(size + 1).toString()} />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue