pelmer
pelmer
FFilament
Created by pelmer on 3/26/2025 in #❓┊help
Trigger state format when reciving new state from afterStateUpdated with $set from another field?
Yes, that is what I am doing now. I was hoping there was a better way to handle this in the field that receives the updated state. I think the responsibility of formatting the state should be on the field, not the code that updates the state of the field. Thank you anyway ❤️
8 replies
FFilament
Created by pelmer on 3/26/2025 in #❓┊help
Trigger state format when reciving new state from afterStateUpdated with $set from another field?
Yes, that is what I was doing. But that means duplicating the formatting code. I also think each field should be responsible for their own formatting. I think it would be a good improvement if formatStateUsing or afterStateUpdate was triggered in this case. Or at least some event or something that you can hook into.
8 replies
FFilament
Created by pelmer on 9/3/2024 in #❓┊help
Wrong foregin key in AssociateAction
6 replies
FFilament
Created by pelmer on 9/3/2024 in #❓┊help
Wrong foregin key in AssociateAction
I thought I was doing something wrong, but it seems to be a bug then
6 replies
FFilament
Created by pelmer on 9/3/2024 in #❓┊help
Wrong foregin key in AssociateAction
Yes, exactly. Thank you!
6 replies
FFilament
Created by pelmer on 3/17/2024 in #❓┊help
Actions: Is there a way to receive the results and display it?
Thanks! Yea, I have read there, but I didn't feel it was what I wanted. After reading though again, it might be good enough with persistent notifications with action buttons.
5 replies
FFilament
Created by pelmer on 2/27/2024 in #❓┊help
Can you use StatsOverviewWidget in infolist?
Ok, I will do that. Thank you
13 replies
FFilament
Created by pelmer on 2/27/2024 in #❓┊help
Can you use StatsOverviewWidget in infolist?
Is there a way to make it a bar chart?
13 replies
FFilament
Created by pelmer on 2/27/2024 in #❓┊help
Can you use StatsOverviewWidget in infolist?
Ah, yes. Thank you. That helped. I didn't pass in the Infolist object to my infolist 🙂
13 replies
FFilament
Created by pelmer on 2/27/2024 in #❓┊help
Can you use StatsOverviewWidget in infolist?
No description
13 replies
FFilament
Created by pelmer on 2/27/2024 in #❓┊help
Can you use StatsOverviewWidget in infolist?
I want some stats for the user. LTV, Booking count etc.
13 replies
FFilament
Created by pelmer on 1/2/2024 in #❓┊help
Turn formatStateUsing into a custom entry
I figured it out now. Thanks a lot! 😀 That was helpful 🙏
10 replies
FFilament
Created by pelmer on 1/2/2024 in #❓┊help
Turn formatStateUsing into a custom entry
I only got it to work if I added a custom method that sets the formatStateUsing property
10 replies
FFilament
Created by pelmer on 1/2/2024 in #❓┊help
Turn formatStateUsing into a custom entry
I tried exactly like that, but the formatStateUsing callback is never called.
10 replies
FFilament
Created by pelmer on 1/2/2024 in #❓┊help
Turn formatStateUsing into a custom entry
Thank you. Yes, that would work. But it would be cleaner and more clear what it is with new field type.
10 replies