Bart
Bart
FFilament
Created by Bart on 9/16/2024 in #❓┊help
Auto delete files when deleted in FileUpload component
Found a solution tonight. I've created an Observer and have used the isDirty and getOriginals method to find which files would need to be deleted on the 'updating' and 'deleted' event. Then used the Storage::disk('local')->delete($file) code.
4 replies
FFilament
Created by Bart on 8/31/2024 in #❓┊help
Laravel Spark Stripe and Filament - subscriptions per user
Update: I used a custom blade file (subscriptionBanner) for the banner and attached it using a renderHook in the panel provider. It was as simple as that in the end 😅 renderHook('panels::body.start', fn () => view('subscriptionBanner'), )
11 replies
FFilament
Created by Bart on 9/2/2024 in #❓┊help
Filament default ENUMS missing
Update: all okay now. Seemed that there also were some published filament views which caused troubles now. Deleted them and all is fine. Thanks again 🙏
10 replies
FFilament
Created by Bart on 9/2/2024 in #❓┊help
Filament default ENUMS missing
Updated PHPstorm and that seems to have fixed it. Still doesn't work in the project when I run it however, so will check some cache stuff for that. Really appreciate the help so far 🙂
10 replies
FFilament
Created by Bart on 9/2/2024 in #❓┊help
Filament default ENUMS missing
No description
10 replies
FFilament
Created by Bart on 9/2/2024 in #❓┊help
Filament default ENUMS missing
Guess that's a rookie mistake, sorry about that. Now have the enum files, so that's great. Use statement still cannot find them, although the file is there. Is there a need to vendor publish stuff?
10 replies
FFilament
Created by Bart on 8/31/2024 in #❓┊help
Laravel Spark Stripe and Filament - subscriptions per user
🙏 will look into it!
11 replies