-
Bug
-
Resolution: Fixed
-
P4
-
7u6
-
2.2.0b11.
I can set max page indicator count to value < 0, and to value > page count. Behavior in such cases is not specified, but I need to know it to write tests properly and track behavior.
Docs in b11 say:
The maximum number of page indicators to use for this pagination control. This value must be greater than or equal to 1. The page indicators will be unselected when the currentPageIndex is greater than the maxPageIndicatorCount. The number of page indicators will be reduced if maxPageIndicatorCount cannot fit within this control. The default is 10 page indicators.
Also, please, check this phrase: "The page indicators will be unselected when the currentPageIndex is greater than the maxPageIndicatorCount." because now navigation to according range of indicators will be done.
Docs in b11 say:
The maximum number of page indicators to use for this pagination control. This value must be greater than or equal to 1. The page indicators will be unselected when the currentPageIndex is greater than the maxPageIndicatorCount. The number of page indicators will be reduced if maxPageIndicatorCount cannot fit within this control. The default is 10 page indicators.
Also, please, check this phrase: "The page indicators will be unselected when the currentPageIndex is greater than the maxPageIndicatorCount." because now navigation to according range of indicators will be done.