Skip to content

Commit

Permalink
fix(PaginationNav): dropdown not changing current page
Browse files Browse the repository at this point in the history
  • Loading branch information
zvonimirfras committed Jan 13, 2022
2 parents 1ff2a26 + 0bf5187 commit 87f6f30
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -21,7 +21,6 @@ import {
class="bx--pagination-nav__page bx--pagination-nav__page--select" (change)="handleChange($event)">
<option value="" hidden></option>
<option
(click)="change.emit(fromIndex + i + 1)"
*ngFor="let item of countAsArray; let i = index">
{{fromIndex + i + 1}}
</option>
Expand Down Expand Up @@ -59,6 +58,7 @@ export class PaginationOverflow {
constructor() {}

handleChange(event) {
this.change.emit(+event.target.value);
event.target.value = "";
}
}

0 comments on commit 87f6f30

Please sign in to comment.