Adam Holmes
Adam Holmes
FFilament
Created by morty on 8/21/2024 in #❓┊help
Spatie Media Library plugin - How to get it to work inside a ManageRelatedRecords page?
Fair enough - cheers for the reply
33 replies
FFilament
Created by justanotherC on 11/29/2024 in #❓┊help
IconColumn not working
Your database field icon will need to have the name of the icon that you want to show. I like to use an enum for my icon fields and then make sure I cast the field to the enum class in the model
5 replies
FFilament
Created by gausoft on 8/18/2024 in #❓┊help
How to use different logos for the login and the sidebar ?
Brill - thanks 🙂
12 replies
FFilament
Created by gausoft on 8/18/2024 in #❓┊help
How to use different logos for the login and the sidebar ?
Hi @gausoft What was the code you used here? The attached file is a binary that I cannot view
12 replies
FFilament
Created by Ralph Morris on 11/7/2024 in #❓┊help
Price (in pence) field - show result in pounds in suffix/or somewhere else that's sensible
I use a plugin for this: https://filamentphp.com/plugins/pelmered-money-field User enters an amount in £ (or your chosen currency) and then it converts to pennies on save.
6 replies
FFilament
Created by Arshavir on 11/7/2024 in #❓┊help
ToggleButtons are requiring a double-click to change their state
This sounds similar to what I was experiencing with actions here: https://discord.com/channels/883083792112300104/1296415497037938729/1296437496288116746 @ChesterS made the suggestion of setting lazy = true which did the trick for me - maybe you can try that Sadly, no explanation why this works, but it did 😂
27 replies
FFilament
Created by _andypeacock on 7/8/2024 in #❓┊help
Sort within group in table
Hi @_andypeacock did you get anywhere with this?
4 replies
FFilament
Created by Zoltar on 10/24/2024 in #❓┊help
table filter icon - add text after or before icon
Make sure you use the correct action class. Alias it if you have to
8 replies
FFilament
Created by Zoltar on 10/24/2024 in #❓┊help
table filter icon - add text after or before icon
$table
->filtersTriggerAction(
fn (Action $action) => $action->button()->label('New Filter Name')
);
$table
->filtersTriggerAction(
fn (Action $action) => $action->button()->label('New Filter Name')
);
8 replies
FFilament
Created by razvan1033 on 10/24/2024 in #❓┊help
Page header in topbar
There was some chatter about this here: https://discord.com/channels/883083792112300104/883084832387760148/1288922950107398257 There's a few messages further up too It might at least point you in the right direction
12 replies
FFilament
Created by Adam Holmes on 10/18/2024 in #❓┊help
Prepopulate constraints
6 replies
FFilament
Created by Adam Holmes on 10/18/2024 in #❓┊help
Actions in table column view not triggering
Fair enough - I guess I've just overlooked that and never needed to use actions this way. All of my actions are snake case so do_something_cool. I guess it wasn't clear from the docs as they're all 1 word actions like delete / edit etc Thanks for the help 🙂
14 replies
FFilament
Created by Adam Holmes on 10/16/2024 in #❓┊help
Modal closing on search
bump
6 replies
FFilament
Created by Adam Holmes on 10/18/2024 in #❓┊help
Actions in table column view not triggering
Well. It only blummin works! 🥳 How bizzare - do you happen to know why that would make a difference?
14 replies
FFilament
Created by Adam Holmes on 10/18/2024 in #❓┊help
Actions in table column view not triggering
I wonder whether this has anything to do with it - I'm rendering an action outside a table, but displaying tables on the page. I am including the modals element though: https://github.com/filamentphp/filament/issues/11678
14 replies
FFilament
Created by Adam Holmes on 10/18/2024 in #❓┊help
Actions in table column view not triggering
Which suggests it's closing the modal straight away rather than opening it
14 replies
FFilament
Created by Adam Holmes on 10/18/2024 in #❓┊help
Actions in table column view not triggering
It seems 2 requests are fired in the network tab - one for mountAction and another for close-modal
14 replies
FFilament
Created by Adam Holmes on 10/18/2024 in #❓┊help
Actions in table column view not triggering
Even with the form, it does nothing
14 replies
FFilament
Created by Adam Holmes on 10/18/2024 in #❓┊help
Actions in table column view not triggering
I want it to open a modal that has another view - I was doing info() to see if it run
14 replies
FFilament
Created by Rakss on 10/18/2024 in #❓┊help
Error when making filament-user
IMO, it would be better to change the web_users table to use created_at so that it's consistent
4 replies