qcol
qcol
FFilament
Created by qcol on 11/2/2024 in #❓┊help
Dilemmas during installation.
I'm familiar with Laravel, I'm just not sure what the Laravel installer is supposed to do and what the Filament installer is supposed to do. You have to admit it's not clear since the documentation lists Livewire as ‘Requirements’ which suggests it should be installed BEFORE installing Filement, but it appears that Filament does this itself during installation (unlike Laravel). A lot of forum posts (and here) suggest installing Breeze, so I also don't know if a simple basic migration of the users table is enough, or if Breeze is advisable? Don't you think it would be great for this to be clearly described at the beginning of the documentation? This is just a simple user suggestion....
6 replies
FFilament
Created by Arnaud on 12/22/2023 in #❓┊help
Use Notification for error 500 in production
Hi! Also, I am looking for a solution so that the customer receives a simple notification instead of the "ERROR 500" screen. Unfortunately this solution does not work for me. I pasted the code into app.js, in the .env I have APP_DEBUG=1 VITE_APP_DEBUG=true What other conditions need to be met for this to work?
6 replies
FFilament
Created by Travis on 10/19/2023 in #❓┊help
Is it possible to allow guests or unauthenticated users access to a panel...?
But in fact with the infolist builder module it is already one step away from being able to build the frontend too. Such a freature request 😉
11 replies
FFilament
Created by qcol on 12/9/2023 in #❓┊help
unwanted "order by" in modifyQueryUsing - how to disable it?
I didn't have such a column, but this hint guided me to force sort by ->defaultSort() which helped
11 replies
FFilament
Created by qcol on 12/9/2023 in #❓┊help
unwanted "order by" in modifyQueryUsing - how to disable it?
Thank you for your suggestions. I solved it with 2 steps: 1. forcing sort ->defaultSort('product_id') 2. after Error "getTableRecordKey(): Return value must be of type string, null returned", changed key: public function getTableRecordKey(Model $record): string { return $record->product_id; }
11 replies
FFilament
Created by qcol on 12/9/2023 in #❓┊help
unwanted "order by" in modifyQueryUsing - how to disable it?
I don't have filters or default sortings here. As I wrote, I also made sure the query works correctly with sql mode strict (the query works correctly in phpmyadmin when you remove the sorting part). It seems to me that Filament sticks the default sorting by ID which in this case is the problem.
11 replies
FFilament
Created by shamilomarov#2104 on 11/30/2023 in #❓┊help
Dynamic Select Fields
5 replies
FFilament
Created by shamilomarov#2104 on 11/30/2023 in #❓┊help
Dynamic Select Fields
I had a similar problem, in the end I built a custom page with tree form instead of a table. This extension helped a lot: https://github.com/staudenmeir/laravel-adjacency-list
5 replies
FFilament
Created by Esi on 9/25/2023 in #❓┊help
Hierarchy tables
38 replies
FFilament
Created by Esi on 9/25/2023 in #❓┊help
Hierarchy tables
38 replies
FFilament
Created by qcol on 10/10/2023 in #❓┊help
Call to a member function getKey() on null
I finally eliminated the error by returning $livewire->getRelationship()->getModel() at the end of the class; but you're right, I made it unnecessarily confusing, I think I'll create a custom action.
5 replies
FFilament
Created by qcol on 9/27/2023 in #❓┊help
SpatieTags filter
I can't find anything on github about this issue.
10 replies
FFilament
Created by qcol on 9/27/2023 in #❓┊help
SpatieTags filter
Unfortunately that doesn't work either 😦
10 replies
FFilament
Created by qcol on 9/27/2023 in #❓┊help
SpatieTags filter
No description
10 replies
FFilament
Created by alexanderkroneis on 9/11/2023 in #❓┊help
Nested relationships
The way I do it so far is that I create a resource for the second level of nesting and then to it a relation-manager that handles level 3. From the second level, just refer to the next nesting using ->url on any of the columns. On the last level, it's still a good idea to make a [return] button that will take you back to level 2.
15 replies
FFilament
Created by alexanderkroneis on 9/11/2023 in #❓┊help
Nested relationships
15 replies
FFilament
Created by qcol on 9/4/2023 in #❓┊help
Nested resource
A modal window with a table of relational records would be ideal, but editing such a record is calling another modal window. The second option is to display a table that will appear in place of the table from which it was called + a "Back" button that returns to the parent table. The latter option is probably easier, so far, however, I don't know how to go about it 😦 Time to delve more into Livewire 🙂
7 replies
FFilament
Created by qcol on 8/28/2023 in #❓┊help
Textinput value like Placeholder content?
Oh, I'm too weak for such things.... Maybe someday? 🙂
26 replies
FFilament
Created by qcol on 8/28/2023 in #❓┊help
Textinput value like Placeholder content?
OK, Thank you very much for your help, now I know for sure that I have to do it differently. I thought there was something I didn't know or something I was doing wrong. Time to get to work. Thanks again! 🙂
26 replies
FFilament
Created by qcol on 8/28/2023 in #❓┊help
Textinput value like Placeholder content?
but ->default() and ->afterStateHydrated() work only when form is initiated?
26 replies