Mack H
JS Event and Field Listener
I'm working on bringing lazy loading to Filament Select Tree. There is a callback that gives us the expanded groupId, but I'm unsure how to report that back to SelectTree.php which is an Alpine Component.
https://github.com/CodeWithDennis/filament-select-tree
The changes I have made in my fork are bumping TreeSelectJS to 0.93 and the following in index.js
Not quite sure how to dispatch an event here and then catch it in SelecTree.php or the view. I just know that needs to be it's next stop 😂
2 replies