@tsed/react-formio 1.11.1 → 1.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1357,6 +1357,7 @@ function PaginationButton(props) {
1357
1357
  otherProps = _objectWithoutPropertiesLoose(props, ["component", "children", "disabled", "active"]);
1358
1358
 
1359
1359
  return React.createElement(Component, Object.assign({}, otherProps, {
1360
+ "data-testid": 'pagination-button',
1360
1361
  disabled: disabled,
1361
1362
  className: classnames("page-link", disabled ? "disabled" : "", active ? "" : "", props.className)
1362
1363
  }), children);
@@ -1372,7 +1373,7 @@ function Pagination(props) {
1372
1373
  nextPage,
1373
1374
  canNextPage,
1374
1375
  pageCount,
1375
- pageIndex,
1376
+ pageIndex = 1,
1376
1377
  pageOptions,
1377
1378
  pageSize,
1378
1379
  setPageSize,