bennett
How do you define the layout for a header action form?
I have a simple section, shown below. I've tried using
Grid
and Section
within the ->form()
definition, but I get a type error that the ->form()
argument must be of type Filament\Forms\Components\Component
7 replies
Modal won't display from Infolist
I have an Infolist I'm rendering in a Livewire component. I have this action defined:
Infolist renders fine, no errors in the console or PHP-side. I'm not sure what I'm doing wrong. I click the button and no modal appears, and the action isn't run. What am I missing here?
10 replies
Image Processing
Is it possible to programmatically access uploaded images for processing? Ideally I'd like to run Spatie's image optimizer on any images uploaded before they are saved through the
FileUpload
field type and the files uploaded in the RichEditor
field type.
I realize I can run it against files already uploaded to the disks, but it would be nice to process the images before they are saved to disk.9 replies
Select Form Field Limits 50 Options Visible
When using the
Select
form-field, I'm populating the options()
method like this:
My problem is: only 50 results are visible in the dropdown at a time. Can this be changed? Yes, I realize it's searchable but users may not know what to search. I'd like to show all options.4 replies