F
Filament3w ago
Ava

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
No description
3 Replies
Mohamed Ayaou
Mohamed Ayaou3w ago
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
Ava
AvaOP3w ago
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.
toeknee
toeknee2w ago
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
Want results from more Discord servers?
Add your server