From 666442a4346c4a36861db14d033ae47f7c71b32d Mon Sep 17 00:00:00 2001 From: dn55333 <147149405+dn55533@users.noreply.github.com> Date: Thu, 9 Jan 2025 09:38:19 +0000 Subject: [PATCH] fix(canary-docs): set IcPaginationBar to the first page when the items per page changes Add a setToFirstPageOnPaginationChange prop that will make the IcPaginationBar go to the first page when the items per page changes fix #2639 --- packages/canary-docs/docs.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/packages/canary-docs/docs.json b/packages/canary-docs/docs.json index 9b993e55a8..fec69f950d 100644 --- a/packages/canary-docs/docs.json +++ b/packages/canary-docs/docs.json @@ -3697,6 +3697,28 @@ "optional": true, "required": false }, + { + "name": "setToFirstPageOnPaginationChange", + "type": "boolean", + "complexType": { + "original": "boolean", + "resolved": "boolean", + "references": {} + }, + "mutable": false, + "attr": "set-to-first-page-on-pagination-change", + "reflectToAttr": false, + "docs": "If `true`, the pagination bar is set to the first page when the 'items per page' changes", + "docsTags": [], + "default": "false", + "values": [ + { + "type": "boolean" + } + ], + "optional": true, + "required": false + }, { "name": "showGoToPageControl", "type": "boolean",