Jordy
Jordy
FFilament
Created by Sameed Editz on 4/8/2025 in #❓┊help
hey i have an ServerResource that have a relation with subServers and in my Server index table i wan
you could add an action with an url that directly links to the tab where you manage sub servers
19 replies
FFilament
Created by Sameed Editz on 4/8/2025 in #❓┊help
hey i have an ServerResource that have a relation with subServers and in my Server index table i wan
if you like the structure of the demo, you can check out the source code https://github.com/filamentphp/demo
19 replies
FFilament
Created by Sameed Editz on 4/8/2025 in #❓┊help
hey i have an ServerResource that have a relation with subServers and in my Server index table i wan
this is still behind a click (action) so why not just add it as a relation manager or like the demo: https://demo.filamentphp.com/blog/posts/1 ?
19 replies
FFilament
Created by Zlatiborac on 4/8/2025 in #❓┊help
Spatie Laravel Media Library general question
not really, however I ended up changing it (ultimately decided to not use spatie's package) because for me it has to save to a (sub)folder of a project, some users directly access the file server (since it also keeps document related to the project), its very cumbersome to have a folder for each picture in my case https://spatie.be/docs/laravel-medialibrary/v11/advanced-usage/using-a-custom-directory-structure
4 replies
FFilament
Created by Sameed Editz on 4/8/2025 in #❓┊help
hey i have an ServerResource that have a relation with subServers and in my Server index table i wan
19 replies
FFilament
Created by Sameed Editz on 4/8/2025 in #❓┊help
hey i have an ServerResource that have a relation with subServers and in my Server index table i wan
you want to see the relations on the resource index?
19 replies
FFilament
Created by Sameed Editz on 4/8/2025 in #❓┊help
hey i have an ServerResource that have a relation with subServers and in my Server index table i wan
I dont know what you are trying to build..
19 replies
FFilament
Created by Sameed Editz on 4/8/2025 in #❓┊help
hey i have an ServerResource that have a relation with subServers and in my Server index table i wan
dumping your code isnt helping anyone to help you, what is the actual issue your are facing: https://discord.com/channels/883083792112300104/1167015843020943390
19 replies
FFilament
Created by Chili con Timo on 3/14/2025 in #❓┊help
Manipulate member with a button wire:click inside a ViewField in a HasForms Page
assuming its inside the form
6 replies
FFilament
Created by Chili con Timo on 3/14/2025 in #❓┊help
Manipulate member with a button wire:click inside a ViewField in a HasForms Page
6 replies
FFilament
Created by capins on 3/14/2025 in #❓┊help
Hello,I have a Table column like this:
This works for me
->query(Model::query()->with('relation', fn($query) => $query->orderBy('column')))
->query(Model::query()->with('relation', fn($query) => $query->orderBy('column')))
16 replies
FFilament
Created by capins on 3/14/2025 in #❓┊help
Hello,I have a Table column like this:
perhaps if you already sort the distances in the original table query?
16 replies
FFilament
Created by capins on 3/14/2025 in #❓┊help
Hello,I have a Table column like this:
adding your suffix logic into ->formatStateUsing() seems the easiest fix
16 replies
FFilament
Created by capins on 3/14/2025 in #❓┊help
Hello,I have a Table column like this:
seems filament is smart enough to format the state for each record, but the suffix seems to be for the entire column
16 replies
FFilament
Created by capins on 3/14/2025 in #❓┊help
Hello,I have a Table column like this:
I recreated it quickly and when I remove that it throws Attempt to read property on string
16 replies
FFilament
Created by capins on 3/14/2025 in #❓┊help
Hello,I have a Table column like this:
I think that has to do with your usage of ->listWithLineBreaks()
16 replies
FFilament
Created by capins on 3/14/2025 in #❓┊help
Hello,I have a Table column like this:
because distances is a relationship, the state of the column is the collection of related distances
16 replies
FFilament
Created by delboy1978uk on 3/14/2025 in #❓┊help
Having trouble setting up a belongs to many select
but it shows me a list of the machine centers instead!
because you asked for that ->relationship('machineCenters', ... filament does not know your set up, neither do I.. I'm going to make the assumption that qualityControlStepsare related to machineCenters. in which case you would need to use ->relationship('machineCenters.qualityControlSteps', 'titleColumn')
7 replies
FFilament
Created by fpolli on 3/14/2025 in #❓┊help
Hide table column based on value of another column
hide a table column based on a form might be possible.. but you cant hide a column per record because a table holds multiple records.. thats impossible for any table
14 replies
FFilament
Created by capins on 3/14/2025 in #❓┊help
Hello,I have a Table column like this:
->color(fn($record) => ...) ->suffix(fn$record)=> ...) just add your logic, most methods accept a closure
16 replies