Pagination is not working as it is not allowing page size more than 10 !!!
Closed this issue · 0 comments
sandeepkumarsahoo commented
Hello Team ,
I found a bug in pagination component.
What I am trying to do is to set "itemsPerPage" value to 50 but it's only showing first 10 records from the list.
My list is 205, itemsPerPage value is 50.
In the console I can see the below error .
EXCEPTION: RangeError (index): Index out of range: index should be less than 10:
To reproduce the issue use the below code snipet -
create a list named "notificationReportData" in your dart file.
Add more than 10 data to the list and set itemsPerPage value to 11.
`List notificationReportData = [
{
'custAccountId': 'abc123',
},
.
.
.
.
]`
html snippet -