-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Feature] DataViewsWork surrounding upgrading and evolving views in the site editor and beyondWork surrounding upgrading and evolving views in the site editor and beyond[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Relates to #55083.
What?
When manually entering a page number in the pagination control, an invalid page number incorrectly enables the previous pagination controls, allowing the user to "access" pages below 1.
Expectations
When manually entering a page number, an invalid number should be reset to within range, and the pagination controls should be enabled appropriately:
- If it is reset to the first page, the previous controls should be disabled.
- If it is reset to the last page, the next controls should be disabled.
- If it is reset to both (that is, there is only one page), both the previous and next controls should be disabled.
Reproduction
- Navigate to the pagination control, and enter a page number out of range (e.g.
0
).
- Note that the value will reset to a number within range (e.g.
1
), but that the "First page" and "Previous page" buttons will be enabled.
- Pressing the "First page" button will reset appropriately to the first page
- Pressing the "Previous page" button will move backwards through non-existent pages
manual.pagination.error.mov
Metadata
Metadata
Assignees
Labels
[Feature] DataViewsWork surrounding upgrading and evolving views in the site editor and beyondWork surrounding upgrading and evolving views in the site editor and beyond[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended