Open derkoe opened 4 days ago
Hello,
Thanks for reporting! Order here matters so if you put the clrDgPageSize
input before the page input it would work. That's happening due to page size being 0 by default and that's setting the page to 1. We'll log it internally and look forward that being more reactive.
Regards, Daniel Tsanev
Describe the bug
When you pass in an inital value for
clrDgPage
toclr-dg-pagination
it gets ignored and "1" will be used.We need to set the initial page of the grid to a certain value because we receive the page number from an URL parameter.
How to reproduce
Here is a Stackblitz project reproducing it: https://stackblitz.com/edit/clarity-light-theme-clr17-1f4jud
Steps to reproduce the behavior:
Expected behavior
I would expect that the pager takes the initial value and starts paging from this value.
Versions
Clarity version:
Framework version:
Device:
All devices.
Additional notes
none