Haydra
Haydra
FFilament
Created by Haydra on 10/27/2024 in #❓┊help
form schema modify
Hello guys $testField = TextInput::make('first_name') ->maxLength('64') ->required(); dd($testField->getId()); i'm trying to access the input before rendering it in the browser but getting this error Typed property Filament\Forms\Components\Component::$container must not be accessed before initialization is there anyway to access field properties before ?
2 replies
FFilament
Created by Haydra on 10/15/2024 in #❓┊help
bulk actions with large dataset
when doing bulk action on 100k records, the app is freezed the action is attach many to many relation to selected records any idea how to solve it ? Thx in advance
7 replies
FFilament
Created by Haydra on 8/23/2024 in #❓┊help
filter input fields
Hello guys i'm trying to make forms reusable by many relation managers without rewriting them and made this, the method works fine for table columns but for the form it always throw this error Typed property Filament\Forms\Components\Component::$container must not be accessed before initialization i attached the code, thank you any help will be appreciated
1 replies
FFilament
Created by Haydra on 7/22/2024 in #❓┊help
filament php version demo
Hello guys is there any way to get source code of demo of v2 ?
15 replies
FFilament
Created by Haydra on 7/17/2024 in #❓┊help
Replicate Action updating cloned record
Hello Guys i added a form to the replicate action everything is fine, but the problem is that the cloned record, is updating too. province_short is foreign key so it's relation, only province_short is updating at the cloned record. thanks in advance Tables\Actions\ReplicateAction::make() ->excludeAttributes(['province_short', 'updated_at']) ->beforeReplicaSaved(function (Model $replica, $data, $record): void { $replica->fill($data); }) ->form(self::formComponents()),
2 replies
FFilament
Created by Haydra on 4/29/2024 in #❓┊help
Spatie Translatable Pivot
Hello guys is there anyway to translate pivot using Translatable ?
2 replies
FFilament
Created by Haydra on 3/25/2024 in #❓┊help
Custom Filter
Hello i created custom filter but i can't trigger the query method, any advice or blog post can help me, Thanks any help is appreciated
2 replies