jlove1672
Infolist with pages?
You should be able to customise where you when clicking a table row like this:
public function table(Table $table): Table
{
return $table
->recordUrl(
fn (Model $record): string => route('posts.edit', ['record' => $record]),
);
}
4 replies
Issue with button color theming on front-end (forms, etc)
You should just be able to use your defined tailwind colors for frontend work - thats what we do
We define a set of brand colors inside tailwind.config.js - its separate to our backend which is built with filament-panels
16 replies
Error with Builder Field
You can intercept the data before its saved by going into your CreatePages.php and adding this method
protected function mutateFormDataBeforeCreate(array $data): array
{
dd($data)
}
This will help you see the format of content before its saved and allow you to modify it to suit your underlying db schema
8 replies
Call modal from anywhere on filament admin panel
Thanks for getting back. Ive decided to just stick with my original method of registering my custom livewire modal component via hooks as theres a small bit of func required to happen inside the modal on the php end 👍
7 replies
Hi every one i have user has applicant relationships
Ok so what you need to do is simplify your form for creating the applicant
All your form needs is:
Then inside your applicant resource you should have a
CreateApplicant.php
file
Inside that file you need to add a function
Inside this function ^ you can intercept the data and use it to create a user for the applicant
so something like this
27 replies