Luukd_2000
Luukd_2000
FFilament
Created by Luukd_2000 on 6/20/2024 in #❓┊help
Filament Simple Page Route Returning 404
@Tetracyclic Thanks for the reply but it seems that when I change the Page class to SimplePage, Filament isnt registering the page anymore. Is there a manual for how to create a simple page?
10 replies
FFilament
Created by Luukd_2000 on 6/20/2024 in #❓┊help
Filament Simple Page Route Returning 404
How can I create a simple page with this command?
10 replies
FFilament
Created by Luukd_2000 on 2/19/2024 in #❓┊help
getNavigationBadge on a managerelatedrecords page
this is not possible, it returns getModel cannot be called statically
6 replies
FFilament
Created by jwktje on 8/9/2023 in #❓┊help
Hide a resource widget based on the resource status
in the edit page, you can use conditions when building the array
12 replies
FFilament
Created by jwktje on 8/9/2023 in #❓┊help
Hide a resource widget based on the resource status
protected function getHeaderWidgets(): array { $widgets = []; // Access the current record using $this->record $website = $this->record; // Check if the relationship count is 0 if ($website && $website->websiteChecks()->count() === 0) { $widgets[] = WebsiteResource\Widgets\WebsiteConnection::class; } return $widgets; }
12 replies
FFilament
Created by jwktje on 8/9/2023 in #❓┊help
Hide a resource widget based on the resource status
I fixed it like this
12 replies
FFilament
Created by jwktje on 8/9/2023 in #❓┊help
Hide a resource widget based on the resource status
the problem is that your not in a object context. so you cant use $this
12 replies
FFilament
Created by jwktje on 8/9/2023 in #❓┊help
Hide a resource widget based on the resource status
Did you find a better sollution for this?
12 replies
FFilament
Created by Luukd_2000 on 2/16/2024 in #❓┊help
mutateFormDataBeforeCreate does not add the field to the query
fixed it. I forgot to add user_id to the fillable array.
4 replies
FFilament
Created by Luukd_2000 on 12/5/2023 in #❓┊help
Dropdown Options Not Displaying in Reactive Filament Form Section When Disabled
No description
2 replies
FFilament
Created by Luukd_2000 on 10/23/2023 in #❓┊help
Add custom data to the user model after filling in the registration form
Thanks, totally forgot about laravels observers. Thank I will give that a try
15 replies
FFilament
Created by Luukd_2000 on 10/23/2023 in #❓┊help
Add custom data to the user model after filling in the registration form
Thanks but how do I add this to the registration method? I am currenlty using fillaments default registration page
15 replies
FFilament
Created by Luukd_2000 on 10/9/2023 in #❓┊help
createOptionForm does not return the correct query
direction*
6 replies
FFilament
Created by Luukd_2000 on 10/9/2023 in #❓┊help
createOptionForm does not return the correct query
Thanks that was it. I always use the $guarded. But someone added $fillable. thanks for pointing me in that directio
6 replies
FFilament
Created by Luukd_2000 on 10/9/2023 in #❓┊help
createOptionForm does not return the correct query
After some more testing this seems to also happen in a relationManager with this model. Does anyone know what I am doing wrong? I am using multi tenancy but that seems to work correctly
6 replies
FFilament
Created by Luukd_2000 on 9/28/2023 in #❓┊help
Hide table actions for certain rows
Thanks!
5 replies
FFilament
Created by Luukd_2000 on 9/4/2023 in #❓┊help
Triggering Filament Action with a Livewire.dispatch event
I have figured it out: you have to create a second function to trigger the action. Add
$this->mountAction('editAction');
$this->mountAction('editAction');
to that function
4 replies
FFilament
Created by Luukd_2000 on 8/25/2023 in #❓┊help
Recourse list, only show user made entires
thanks this worked
4 replies