Selva
Selva
FFilament
Created by Mike. on 10/8/2024 in #❓┊help
How to disabled select in form
Using ->dehydrated() at the end ensures the field is included in form submission even when disabled
4 replies
FFilament
Created by Selva on 10/7/2024 in #❓┊help
How to display two different widgets in dashboard page side by side?
Kindly let me know how to do that, I am new to filament
4 replies
FFilament
Created by Selva on 9/10/2024 in #❓┊help
Get the parent id inside child repeater form
That's great!. Thank you for your valuable support. Here is the working code,
->mutateRelationshipDataBeforeCreateUsing(function (array $data, $livewire): array {
$data['parent_id'] = $livewire->record->id;
return $data;
})
->mutateRelationshipDataBeforeCreateUsing(function (array $data, $livewire): array {
$data['parent_id'] = $livewire->record->id;
return $data;
})
6 replies
FFilament
Created by Selva on 9/10/2024 in #❓┊help
Get the parent id inside child repeater form
I am trying to include livewire here, Is this the way to include, I am newbie for this,
use Filament\Forms\Components\Livewire;
->mutateRelationshipDataBeforeCreateUsing(function (array $data, Livewire $livewire): array {
dd($livewire);
return $data;
})
use Filament\Forms\Components\Livewire;
->mutateRelationshipDataBeforeCreateUsing(function (array $data, Livewire $livewire): array {
dd($livewire);
return $data;
})
6 replies