Alfatic
Alfatic
FFilament
Created by Alfatic on 12/5/2023 in #❓┊help
In which file should I put customized toast notification?
I want a custom message to pop in the "toast" little info window when an item is created. However, I don't know where to put it, in which file. Again, this is something I struggle a lot with in Filament and I think this could be improved by providing perhaps more real world examples with real files with real names - just an idea. Anyway, I have found this https://filamentphp.com/docs/3.x/actions/prebuilt-actions/create and https://filamentphp.com/docs/3.x/actions/prebuilt-actions/create#customizing-the-save-notification but I don't know where to put this code:
CreateAction::make()
->successNotificationTitle('Bingo! User created!')
CreateAction::make()
->successNotificationTitle('Bingo! User created!')
I am using the standard resource and it is happening in CreateUser.php? I am not sure. Thanks for any advice where to put that code.
56 replies
FFilament
Created by Alfatic on 12/5/2023 in #❓┊help
How to translate 2..4, 5+ different plurals?
How to do that in Filament? I see only 1 plural and it looks unnatural when you have 2,3,4 items. Because the current translation uses the 5 and more version.
2 replies
FFilament
Created by Alfatic on 12/5/2023 in #❓┊help
Label based on the grammar case
I need to alter the label of the resource based on the view. Because it's mostely in Accusative and not Nominative. If that's not possible how to set a poor-mans-case label based on a specific page? A different label for create and a differnt for edit page of a resource. It will shows probably some other inconsistencies down the line though.
3 replies
FFilament
Created by Alfatic on 12/5/2023 in #❓┊help
In which file should I put navigation related things?
No description
42 replies
FFilament
Created by Alfatic on 12/4/2023 in #❓┊help
How do I modify the plugin's view page?
Is there a command that would "export" the blade files and put it in my Laravel views (or some other) folder of a Filament plugin and then I could modify it? The plugin author doesn't speak about it on the docs. But perhaps that is something that the view files export for further design tweaking is a "common knowledge" among the Filament users? I am new to Filament and the docs are kind of huge, so perhaps I have missed something?
156 replies
FFilament
Created by Alfatic on 12/1/2023 in #❓┊help
A tab switcher containing different form fields for each
No description
5 replies
FFilament
Created by Alfatic on 11/30/2023 in #❓┊help
Problem with flickering of Livewire
Have any of you experienced this "flicker" of Livewire elements in Filament 3 (using Livewire 3)? If so, how to get rid of it?
8 replies
FFilament
Created by Alfatic on 11/30/2023 in #❓┊help
I am trying to upload images in the demo app the loading is hanging
I have done everything as said in the github demo page including php artisan storage:link but I am getting this: I can't stop the uploads, nor see them. Both of those images are small, only like 30 - 40 kB. Why is that? I am on a macOS and using Herd.
1 replies