Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pagination component sends wrong number in itemCountChanged event #793

Closed
viktorhajer opened this issue Oct 2, 2023 · 0 comments · Fixed by #805
Closed

Pagination component sends wrong number in itemCountChanged event #793

viktorhajer opened this issue Oct 2, 2023 · 0 comments · Fixed by #805
Assignees
Labels
type: bug Something isn't working

Comments

@viktorhajer
Copy link

What happened?

The itemCountChanged event sends a tenth of what it should. Eg. in case of 40 selected it sends only 4. When the user selects 15, only 1 is sent.

What type of frontend frameware are you seeing the problem on?

Angular

Which version of iX do you use?

v2.0.1

Code to produce this issue.

<ix-pagination advanced showItemCount [count]="total" [itemCount]="service.getPageCount()" [selectedPage]="service.getCurrentPage()" (pageSelected)="pageSelected($event.detail)" (itemCountChanged)="itemCountChanged($event.detail)">
  </ix-pagination>
@viktorhajer viktorhajer added the triage We discuss this topic in our internal weekly label Oct 2, 2023
@danielleroux danielleroux added type: bug Something isn't working and removed triage We discuss this topic in our internal weekly labels Oct 4, 2023
@danielleroux danielleroux self-assigned this Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants