tommy_jeanslow
tommy_jeanslow
FFilament
Created by Expecto Patronum on 5/18/2024 in #❓┊help
Widget On Relation Manager
Curious if theres an update to this? I can get the widget to display in my resource, but not in the relationmanager. I'm using the same getHeaderWidgets method.
6 replies
FFilament
Created by tommy_jeanslow on 7/18/2024 in #❓┊help
Action group dropdown menu goes off page
run build did it! thanks!
6 replies
FFilament
Created by tommy_jeanslow on 1/16/2024 in #❓┊help
Call to undefined method Illuminate\Database\Eloquent\Relations\BelongsTo::save()
I was using textinput just to test.. Thank you for the response Dennis 🙂
Forms\Components\Select::make('member_id')
->relationship('member', 'full_name')
->searchable('full_name')
->label('Name'),
Forms\Components\Select::make('member_id')
->relationship('member', 'full_name')
->searchable('full_name')
->label('Name'),
4 replies
FFilament
Created by tommy_jeanslow on 12/11/2023 in #❓┊help
JSON TextColumn formatStateUsing badge repeats
Thank you 🙂 🙂
7 replies
FFilament
Created by tommy_jeanslow on 12/11/2023 in #❓┊help
JSON TextColumn formatStateUsing badge repeats
It repeats the badge. In this case "Attachments". If the column is null, nothing displays. If there is one array within the json, one badge displays. If there are two arrays, two display, etc, etc.
7 replies
FFilament
Created by tommy_jeanslow on 10/1/2023 in #❓┊help
Error using $rowLoop
Thank you. I did know about HasTable, I had omitted it from the file while I was testing. I also elimited order. I believe I have it all working. There is one odd behaviour. It gives an error about $livewire->getTableRecordsPerPage not being an int when "all" is selected. I have a workaround, although pretty crude...I'm sure there is a much cleaner way to do this, unless I am doing something wrong altogether here and a fix is not needed? 😕 😕
static function (stdClass $rowLoop, HasTable $livewire): string { if($livewire->tableRecordsPerPage == 'all') { $tableRecordsPerPage = 9999; } else { $tableRecordsPerPage = $livewire->tableRecordsPerPage; } return (string) ($rowLoop->iteration + ($tableRecordsPerPage * ($livewire->paginators['page'] - 1 )) ); }
11 replies
FFilament
Created by tommy_jeanslow on 10/1/2023 in #❓┊help
Error using $rowLoop
11 replies
FFilament
Created by tommy_jeanslow on 10/1/2023 in #❓┊help
Error using $rowLoop
Sorry about that. This is right from the example on a fresh resource that I just created with one relationship. This is the only column other than the ID. TextColumn::make('index')->getStateUsing( static function (stdClass $rowLoop, HasTable $livewire): string { return (string) ( $rowLoop->iteration + ($livewire->getTableRecordsPerPage * ( $livewire->page - 1 )) ); } ),
11 replies
FFilament
Created by tommy_jeanslow on 9/29/2023 in #❓┊help
Numbering rows
🫢 Thank you kindly for the help! I wasn't using the correct wording for my search!
4 replies
FFilament
Created by tommy_jeanslow on 4/5/2023 in #❓┊help
Value from another field
I believe that did it. Thank you so much!!
7 replies