FranklySteve
FranklySteve
FFilament
Created by FranklySteve on 11/18/2024 in #❓┊help
How to order images when using Media Library
Hi, Im using Spatie Media Library and the images are displayed in my form and table in reverse, so the bottom one is ordered 1 and the top one is the last. How can I change this please?
4 replies
FFilament
Created by FranklySteve on 2/10/2024 in #❓┊help
ImageEntry::make() in infolist doesn't display the image. src is empty?
No description
2 replies
FFilament
Created by FranklySteve on 1/31/2024 in #❓┊help
Sortable doesn't work within ColumnGroup?
Apologies if this is the expected behaviour, but couldn't find any answers. I noticed if I use Filament\Tables\Columns\ColumnGroup the text columns within are no longer sortable, is this the expected behaviour and if so is there a wokr around please? Thanks 🙏
4 replies
FFilament
Created by FranklySteve on 1/27/2024 in #❓┊help
maxLength has stopped cutting off text?
HI, not sure why, or when, but for some reason one of my text fields has stopped cutting off text. It validates on save, but doesn't actually prevent text from going beyond 16 chars when typing within it, which it used to, any ideas please? I've pasted the code below, which feels silly, but might help! Thanks!
TextInput::make('reference')
->maxLength(16)
->hint('Max 16 characters')
->required(),
TextInput::make('reference')
->maxLength(16)
->hint('Max 16 characters')
->required(),
6 replies
FFilament
Created by FranklySteve on 9/18/2023 in #❓┊help
Help using a filter on table with relationship and PHP Enum please?
Hi, I'm trying to create a filter in a table using a relationship that uses a PHP enum for it's options. I've so far got got the following, but it has no effect on the displayed data. Any pointers please? Thanks
SelectFilter::make('invoice.paid_status')
->relationship('invoice', 'paid_status')
->options(PaidStatus::class)
->attribute(PaidStatus::class),
SelectFilter::make('invoice.paid_status')
->relationship('invoice', 'paid_status')
->options(PaidStatus::class)
->attribute(PaidStatus::class),
2 replies
FFilament
Created by FranklySteve on 9/11/2023 in #❓┊help
Prevent data being saved to model on file/s upload?
Hi, I have an upload form and all I want it to do it upload the files, I don't need it to save anything to the database or do anything. Any ideas how once the upload has been done, the modal simply closes and resets, please? Clicking create takes too long for something that isn't required, so I just want rid, thanks. 🙂
6 replies