Summary of the bug
When using IcPaginationBar along with a custom value for the 'itemsPerPageOptions' prop, the 'All' option does not appear in the 'Items per page' select, regardless of the value of the 'hideAllFromItemsPerPage' prop.
🪜 How to reproduce
Tell us the steps to reproduce the problem:
- Go to page: https://design.sis.gov.uk/components/navigation/pagination-bar/code/#variants
- Click on: The 'Items per page' select on the 'Show items per page control' example
- See that there is no 'All' option
📸 Screenshots or code
There is no 'All' option visible despite the 'hideAllFromItemsPerPage' prop being omitted.
🧐 Expected behaviour
The 'All' option should be visible in the 'Items per page' select
📝 Acceptance Criteria
Allow the 'All' option to be selectable in the 'Items per page' select
Add a cypress test for this case, and set all the skipped tests to be run.
Summary of the bug
When using IcPaginationBar along with a custom value for the 'itemsPerPageOptions' prop, the 'All' option does not appear in the 'Items per page' select, regardless of the value of the 'hideAllFromItemsPerPage' prop.
🪜 How to reproduce
Tell us the steps to reproduce the problem:
📸 Screenshots or code
There is no 'All' option visible despite the 'hideAllFromItemsPerPage' prop being omitted.
🧐 Expected behaviour
The 'All' option should be visible in the 'Items per page' select
📝 Acceptance Criteria
Allow the 'All' option to be selectable in the 'Items per page' select
Add a cypress test for this case, and set all the skipped tests to be run.