Closed igorsimb closed 5 months ago
Could probably be solved by using AlpineJS and simply removing the element from DOM when it is not active.
HTMX has Tabs functionality. https://htmx.org/examples/tabs-javascript/ Not sure how to implement it in Django though.
Since we have
{% include "main/partials/items_table.html" %}
twice, the JavaScript script only catches the firstselect-all
id of the items_table's input.To reproduce:
{% include "main/partials/items_table.html" %}
fromupdate_items_form.html
file