Filament annoying or be praised
I have used filament laravel and i don't think so it save time anyway and it also too difficult to change something/ customization. All i have to follow strange filament way to do anything i want. It's too annoying.
And when i see many people they praise filament and say it save alot time.
Why is that, why its annoying for other to do customization in filament unique way...
Default Relation Manager Tab on Page Load?
I have a ViewRecord page with 3 tabs for the relation managers, it goes RM, then RelationalGroup, then another RM standalone. I would love for the RM Group to be the default tab. Possible?
Solution:
seems this does the trick on the Page ...
public ?string $activeRelationManager = '5';
public ?string $activeRelationManager = '5';
TextInputColumn custom validation error
Tables\Columns\TextInputColumn::make('baseShopItem.discount_price')
->label(__('validation.attributes.discount_price'))
->toggleable()
->rules([
fn (Forms\Get $get): \Closure => function (string $attribute, $value, \Closure $fail) use ($get) {...
dynamic index route
how to make the index route that accessed like
dashboard/action/{record}
on the TransactionResource class i set the pages like this
```php
public static function getPages(): array
{...Solution:
i think something like this is work for me
```php
public function getBreadcrumbs(): array
{
return [...
Is there a way to evaluate this immediately without returning a closure?
I want to return an array here but I also need to check the operation of the form if it's in ...
create
or edit
. I don't want to return a closure because it's slower due to querying the database when the user focuses the field. I'd rather load these on page load which returning an array would do.
Forms\Components\Select::make('priority')->options(fn (string $operation) => WorkOrderStatus::options($operation))
Forms\Components\Select::make('priority')->options(fn (string $operation) => WorkOrderStatus::options($operation))
Simple repeater and $get
Hi,
When using
$get
on a simple repeater, the state shown is not the simple array of value shown in the doc, but the internal representation of the repeater.
```
Repeater::make('invitations')...RepeatableEntry relationship
Hello, I have a infolist code
```php
RepeatableEntry::make('attachments')
->schema([
TextEntry::make('file')...
Solution:
@__Dementor Injecting
$record
inside the action
's callback should give you access to the related attachment model. I just used RepeatableEntry
in exactly this way in one of my Filament apps.
```php
RepeatableEntry::make('attachments')
->schema([...Cluster sub-navigation not showing
Hi everyone! I added a new cluster with some resources inside, but I'm not seeing the side navigation appear. I'm pretty sure I must be missing something. Does anyone know what I might be doing wrong?
This is the Cluster:
```
<?php...

Upload file stuck at uploading status on coolify
I am using filament v3, and host it on vps using coolify. I have fill asset url and app url on env. I have run php artisan storage:link. I have set cors to *.
But when I want to upload file, the status stuck at uploading....

Refresh badge count after filter table
Good morning, everyone!
I have the following table with the tabs where there is a query for the badge count. The client wants that when he searches for someone in the table, the badge number reflects the result of the search. For example, if I searched for Alexandre and there are only 2 Alexandres in Active, I need to have the badge in 2 active ones, and in the rest 0....
Halt reload table
When an action is executed within the table, it is reloaded. Is it possible to skip that automatic reload after the action?
Translating Filament CSV Importer
In the new feature of CSV Importer in Filament 3.1, I see that the modal is not translated to all languages (I need it for Hebrew).
How can I fix it? I can't see the file for it when I published translations....
Profile page filament
normally profile open in a page i want to open profile modal in filament. Can someone please help.
SelectFilter doesn not work like I want
Hello I have a select filter
```php
Tables\Filters\SelectFilter::make('status_filter')
->options(JobStatusEnum::asSelectArray())
->modifyQueryUsing(function (mixed $state, Builder $query): Builder {...
Solution:
Is posbile to have 2 tables inside one livewire component?
I have done some tests, but it shows me the same data in both tables:
```php
class ListResults extends Component implements HasForms, HasTable
{...
Solution:
I think they should be two LW components
You can also use table widgets
The widget is a LW component...
How to adjust customize image in rich text editor.
hello everyone. i am currently working with the rich text editor. i'm trying to adjust the image in the center of the text editor. But it's not working.
is there way to do it or some free plugin which can help in image customization....
Error: Class "Filament\Actions\Exports\Jobs\Log" not found
When Running Illuminate\Bus\ChainedBatch
chaining bus job its fires PrepareCsvExport then its fail because of this error :
Error: Class "Filament\Actions\Exports\Jobs\Log" not found in /home/forge/api.msaaqdev.com/vendor/filament/actions/src/Exports/Jobs/PrepareCsvExport.php:55
...Reverb & Filament containers behind nginx - needing help
Hi, guys, please help? I'm at my wits end.
For the past couple of days I've been trying to configure Filament notification broadcasting with reverb.
The setup:
Running Laravel with Filament in a php-fpm container, behind an instance of nginx running in another container on the same docker network + a separate container for the db. ...
ERR_TOO_MANY_REDIRECTS
After installing wsl and docker, I copied a project from github, installed the database and everything works perfectly. But I always get the error ERR_TOO_MANY_REDIRECTS. Any idea what could be happening? I have already deleted the cookies, etc.
Solution:
Too many redirects means it's looping on itself, so it's down to the .env url and the redirect. But I'd also just use Herd for windows.