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
Since {% block kreyu_data_table %} is adding a <turbo-frame> wrapper, it seems that when you change the items per page selected amount is doing a full page reload (instead of an asynchronous call to replace only the turbo frame content).
Is this situation considered as a bug? And can be fixed?
The text was updated successfully, but these errors were encountered:
By default, the per-page selector is rendered with the onchange="this.form.submit()" attribute. I think this is not working properly with Turbo, but based on the https://stackoverflow.com/a/69537709 - probably changing it to this.form.requestSubmit() will work just fine. I'll check it.
The per-page form now contains new data attribute data-turbo-frame="_self" and its select control has onchange="this.form.requestSubmit()" data attribute. This makes the form submission asynchronous with Turbo.
Since
{% block kreyu_data_table %}
is adding a<turbo-frame>
wrapper, it seems that when you change the items per page selected amount is doing a full page reload (instead of an asynchronous call to replace only the turbo frame content).Is this situation considered as a bug? And can be fixed?
The text was updated successfully, but these errors were encountered: