Stay within current tab when using pagy
I'm using the provided stimulus tab controller on a show page, and I'm rendering a paginated collection of related records in the second tab using pagy. How do I get pagy to stay within the same tab (i.e. target the same dom) when I select a different page using the pagy nav links? I can see that the tabs can be targeted using data-tabs-index=, but how do I pass this using pagy?
Notifications
You’re not receiving notifications from this thread.