added multi_select_controller and added multi-select support for tags without Ctrl/Shift in transaction forms (#55)

* added multi_select_controller and added multi-select support for tags without Ctrl/Shift in transaction forms

* fix: prevent memory leak by properly cleaning up event listener in multi-select controller

* chore: updated indentation
This commit is contained in:
Bishal Shrestha
2025-08-03 15:35:34 +10:00
committed by GitHub
parent 46c31e1937
commit efd96f606c
3 changed files with 25 additions and 2 deletions

View File

@@ -84,7 +84,8 @@
label: t(".tags_label"),
container_class: "h-40"
},
{ "data-auto-submit-form-target": "auto" } %>
{ "data-controller": "multi-select", "data-auto-submit-form-target": "auto" }
%>
<% end %>
<% end %>