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
With the following action applied to the wrapper <div data-action="change->search-form#search"... I'm able to trigger a search when checking/un-checking checkbox in the dropdown.
There is actually an Event fired when toggling an element. These custom events hold information about the item added/removed. You can use this event to attach an event listener and do stuff with it. It's mentioned in the docs as well.
I think this is a better approach than adding options. Tell me if this helps.
With the following action applied to the wrapper
<div data-action="change->search-form#search"...
I'm able to trigger a search when checking/un-checking checkbox in the dropdown.see html code
However, I'd like to apply that same action to the
pillTemplate
here:stimulus-multiselect/src/multiselect.js
Line 397 in 819f3e8
Perhaps we could append an action to the
pillTemplate
through an option?The text was updated successfully, but these errors were encountered: