Open
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
On changing paginator's input property 'pageIndex', table content does not update.
Reproduction
Steps to reproduce:
- Create a table with paginator.
- Bind input property 'pageIndex' on paginator.
- increment the pageIndex property.
- Notice the table content. (Content remains on Page-1)
- Refresh the page.
- Click the next button of paginator.
- Notice the table content. (Content moves to Page-2)
Stackblitz: https://stackblitz.com/edit/angular-4h4jkr?file=src%2Fapp%2Ftable-overview-example.ts
Expected Behavior
When we use table with paginator and change page by:
- clicking next/previous button:
- paginator state updates
- table content updates
- Updating pageIndex property
- paginator state updates
- table content also should update
Actual Behavior
When we use table with paginator and change page by:
- clicking next/previous button:
- paginator state updates
- table content updates
- Updating pageIndex property
- paginator state updates
- table content does not update
Environment
- Angular: 15.2.6
- CDK/Material: 15.2.6
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows