LEATHEANX
LEATHEANX
FFilament
Created by LEATHEANX on 5/12/2025 in #❓┊help
How to implement specified action/button in laravel filament forms
nvm it been solved i should have put it in tables in actions
4 replies
FFilament
Created by LEATHEANX on 5/6/2025 in #❓┊help
How to prefill from foreign key address
ps: It works now thank you the problem was i was trying to input to 'employee_id' instead of 'employees_id'
10 replies
FFilament
Created by LEATHEANX on 5/6/2025 in #❓┊help
How to prefill from foreign key address
i have tried it and it still returns a null value but when i check the value in the textInput to verify it, it is correct
10 replies
FFilament
Created by LEATHEANX on 5/6/2025 in #❓┊help
How to prefill from foreign key address
public static function mutateFormDataBeforeCreate(array $data): array
{
$data['employees_id'] = Filament::auth()->user()?->employee?->id;
return $data;
}
public static function mutateFormDataBeforeCreate(array $data): array
{
$data['employees_id'] = Filament::auth()->user()?->employee?->id;
return $data;
}
10 replies
FFilament
Created by LEATHEANX on 5/6/2025 in #❓┊help
How to prefill from foreign key address
Okay thank you ill try it right now also i am very sorry for bad format
10 replies
FFilament
Created by LEATHEANX on 5/6/2025 in #❓┊help
How to prefill from foreign key address
much appreiated if someone can help me 🙏
10 replies
FFilament
Created by LEATHEANX on 5/6/2025 in #❓┊help
How to prefill from foreign key address
No description
10 replies
FFilament
Created by LEATHEANX on 5/6/2025 in #❓┊help
How to prefill from foreign key address
the database relationship
10 replies