Azad Furkan ŞAKAR
Spatie Media Library custom properties
Actually there will not be a picker here. If there is a picker, the biggest feature of the Spatie Media Library, collections and conversions, will not be available for every model. The same conversions or collections are added to all the media you add. So when I solve this, maybe I can bring it back to the agenda with a different version.
But I can say that it is visually similar. The reason why it is similar is because this is the best layout solution.
9 replies
How to sort navigation items within a navigation group?
You can define Navigation Groups in panel provider.
https://filamentphp.com/docs/3.x/panels/navigation#customizing-navigation-groups
or
https://filamentphp.com/docs/3.x/panels/navigation#ordering-navigation-groups
The order of the array elements here directly generates the navigation order.
Then you can order items in group with $navigationSort in pages or resources.
4 replies
How to dispatch event when validation has error on current locale?
Thank you for your reply, i already check documentation but i don't get it yet how can i solve this problem. I think main problem is other language components not visible when i submit form. That's why its throw error i guess. I am about to make a plugin, so i have to do it automatically for every component has required, url etc. methods.
7 replies
Using filament styles outside of the resource
I use filament in my frontend, just added those lines in app.blade.php file;
In head tag;
@filamentStyles(packages: ['filament/forms', 'filament/support', 'filament/notifications'])
Before </body> tag;
@filamentScripts(packages: ['filament/notifications', 'filament/support', 'filament/forms'])
4 replies
Fileupload multiple image in a tab not displaying images properly
This happened to me too before, i think it's bug from filepond or livewire.
When rendering the page, there is no problem while in the default active TAB, but there is a problem loading media while in other TABs.
29 replies