Dennis Koch
Dennis Koch
FFilament
Created by lolmaheen on 4/29/2025 in #❓┊help
call to a member function relation() on null
What's the schema like?
8 replies
FFilament
Created by lolmaheen on 4/29/2025 in #❓┊help
call to a member function relation() on null
Any errors in console?
8 replies
FFilament
Created by lolmaheen on 4/29/2025 in #❓┊help
call to a member function relation() on null
Please put some effor in formatting your code ( #✅┊rules )
why do i get call to a member function offer_order() on null
The error says relation() on null. Where is this Repeater used? On an create/edit resource page on inside the panel?
8 replies
FFilament
Created by Matthew on 4/29/2025 in #❓┊help
How to deal with repeated database calls on forms
I usually use memoization for stuff like this. Or extract to a method that returns once(fn () => get model)
3 replies
FFilament
Created by Sergey Yatsyshen on 4/8/2025 in #❓┊help
Help. How I can show in Forms\Components\FileUpload::make('image') field filed from other field
You need to use the mutate methods to transform your existing data.
5 replies
FFilament
Created by Sergey Yatsyshen on 4/8/2025 in #❓┊help
Help. How I can show in Forms\Components\FileUpload::make('image') field filed from other field
->default() is only used on Create pages
5 replies
FFilament
Created by simplehacker on 4/28/2025 in #❓┊help
Trim Text Inputs
I would've thought this would have been automatic because of the Laravel TrimStrings middleware but I can still added whitespace characters before and after the string and they still save.
Strings aren't trimmed in Livewire because it would break the "live" mode
6 replies
FFilament
Created by monzer on 1/22/2025 in #❓┊help
TextInputColumn custom validation error
You slipped some JS syntax in there: $record.price 😅
16 replies
FFilament
Created by o.m on 4/25/2025 in #❓┊help
Implementing tabs that changes the whole page
We just solved this in the other thread, right?
37 replies
FFilament
Created by o.m on 4/28/2025 in #❓┊help
Added new Resource but it is not showing on the left navigation?
😅
22 replies
FFilament
Created by o.m on 4/28/2025 in #❓┊help
Added new Resource but it is not showing on the left navigation?
Check your screenshot. There's a big "TODO" there
22 replies
FFilament
Created by monzer on 1/22/2025 in #❓┊help
TextInputColumn custom validation error
16 replies
FFilament
Created by monzer on 1/22/2025 in #❓┊help
TextInputColumn custom validation error
IMO a DataAware rule would be the right solution here.
16 replies
FFilament
Created by monzer on 1/22/2025 in #❓┊help
TextInputColumn custom validation error
Did you try ->rules(fn ($state) =>?
16 replies
FFilament
Created by Avi on 4/27/2025 in #❓┊help
Display Cards under Select
You could try replacing ->state() with ->getStateUsing(fn () => )
20 replies
FFilament
Created by Avi on 4/27/2025 in #❓┊help
Display Cards under Select
I don't think state() should be called from user land
20 replies
FFilament
Created by Avi on 4/27/2025 in #❓┊help
Display Cards under Select
I'd probably refactor this into a single ViewField that just uses $get('selected_employees'), runs the DB query and loops over them.
20 replies
FFilament
Created by Avi on 4/27/2025 in #❓┊help
Display Cards under Select
Ah makes sense. I don't think you can set the state before the component is initialised
20 replies
FFilament
Created by Avi on 4/27/2025 in #❓┊help
Display Cards under Select
Just trying to simplify the problem to find the source of the issue
20 replies
FFilament
Created by Avi on 4/27/2025 in #❓┊help
Display Cards under Select
Static card like:
ContactCard::make("employee_1")
->state([
"employee_1_id" => $employee->id,
"employee_1_first_name" => $employee->first_name,
"employee_1_last_name" => $employee->last_name,
"employee_1_email" => $employee->email,
"employee_1_phone" => $employee->phone,
])
ContactCard::make("employee_1")
->state([
"employee_1_id" => $employee->id,
"employee_1_first_name" => $employee->first_name,
"employee_1_last_name" => $employee->last_name,
"employee_1_email" => $employee->email,
"employee_1_phone" => $employee->phone,
])
20 replies