You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the pagination component we've been using the callback to change page. This has broken at some point, probably because we didn't implement full typescript in EDS until recently. When checking the type of the callback it says it's either a Mouse or Keyboard Event AND a FormEventHandler. (see attached image).
Steps to reproduce the bug
Use the pagination component
Try to use the onChange callback
Expected behavior
I assumed it would expect one type.
Specifications
Version: EDS 0.12.1
Browser: Chrome
OS: Windows
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
When using the pagination component we've been using the callback to change page. This has broken at some point, probably because we didn't implement full typescript in EDS until recently. When checking the type of the callback it says it's either a Mouse or Keyboard Event AND a FormEventHandler. (see attached image).
Steps to reproduce the bug
Expected behavior
I assumed it would expect one type.
Specifications
Additional context
The text was updated successfully, but these errors were encountered: