Defenestrația
Defenestrația
FFilament
Created by Defenestrația on 8/27/2024 in #❓┊help
Troubleshooting CSV Import
I am trying to use the new CSV import function in Filament 3.1 but I only get the very unhelpful error message: local.ERROR: Multiple types of exceptions occurred: [ErrorException], [Illuminate\Database\QueryException] {"userId":1,"exception":"[object] (Exception(code: 0): Multiple types of exceptions occurred: [ErrorException], [Illuminate\\Database\\QueryException] at /var/www/html/vendor/filament/actions/src/Imports/Jobs/ImportCsv.php:174) What can I do to get more fidelity on what errors are actually occurring or what I'm doing wrong with the Import action?
2 replies
FFilament
Created by Defenestrația on 1/8/2024 in #❓┊help
Possible to use infolists with Relation Manager?
Is it possible to have a Relation Manager that displays results as an infolist rather than a table? I have a relationship where all I want to display is a grid of avatars...
3 replies
FFilament
Created by Defenestrația on 11/26/2023 in #❓┊help
RelationManager not displaying until another action is taken
I'm not even sure where to begin troubleshooting this... on my Filament site, none of my RelationManager tables will load unless I take another action on the page. For instance, if i open my list I will not see any items until after I try to delete (and then cancel on the modal) the list. As soon as I click on the delete header action, the RelationManager will load. Where can I even start looking to figure out why this is happening?
3 replies
FFilament
Created by Defenestrația on 11/22/2023 in #❓┊help
Middleware for specific resources or pages
Is it possible to declare a middleware that only applies to certain resources or pages?
8 replies
FFilament
Created by Defenestrația on 11/19/2023 in #❓┊help
Modifying the breadcrumbs
Is there a way to modify the breadcrumbs for a resource? For instance, if I go to http://localhost/app/posts/4/edit, how do I get the breadcrumbs to read: Threads > Example Thread > My Post Title > Edit instead of: Posts > My Post Title > Edit
5 replies
FFilament
Created by Defenestrația on 11/18/2023 in #❓┊help
mutateFormDataUsing not called if no form is present
I am trying to use a CreateAction on a RelationManager to create a new item. There is no form data the user needs to enter. The item should be created automatically using the parent model's ID and auth()->id(). I am trying to use mutateFormDataUsing to inject the user_id into the form data before saving, but it does not seem to be called when there isn't a form modal...
4 replies
FFilament
Created by Defenestrația on 8/9/2023 in #❓┊help
Conditional Actions
Is it possible to create actions on a table that are only shown in certain conditions? I'm not talking about authentication based conditions, but rather actions like "Turn Off" that are only visible when the record's state is "On"
3 replies