extraModalFooterActions -> Select
I am editing a form and I need to preset some actions that are controlled by jQuery's onChange function however I am unable to add the Select into the extraModalFooterActions
3 Replies
Can you show the code you are using to add the select?
it is hard to figure out the issue if it's related to jQuery as Filament uses Apline.js by default and its Js is loaded by default
if the JQuery is the responsible for displaying the Select then be sure you have added its JS files to the
->assets()
method in the AdminPanelProvider.php
I have not accomplished this in Filament, the image is from Vanilla PHP and Bootstrap. I am new to Filament and Laravel so things that used to be second hand knowledge doesnt exist.
Please do not use jQuery in a filamentphp project. jQuery is legacy and excess bloat when we have alpine etc.
IT sounds like you should be using a FilamentAction/actions in a group method