Mansoor Khan
Grouping relation managers in a nested tab
Thats a great idea. I follow you on x and love your tips 🙂
for this to work. i would need to render a custom class in place of the relation manager so that it renders a form or a view that has the nested tabs containing all other relationships.
9 replies
Hint Action - Copy value
Try this plugin.
https://github.com/webbingbrasil/filament-copyactions
If you need a one off simple solution, you may take some inspiration from this trait from above package
https://github.com/webbingbrasil/filament-copyactions/blob/3.x/src%2FConcerns%2FHasCopyable.php
4 replies
Custom modal inside repeater
I am on the phone, i assume the following should work.
The action you pass can open up a modal and can have a form.
https://filamentphp.com/docs/3.x/actions/modals#modal-forms
And the ->action() method of your custom action can update the Repeater field.
Try it and see if it works..
Its all about trial and error.
20 replies
Using Media Library Manager with Imagick and Filament 3 in Laravel
Found this while trying to look imagick support for php8.3
https://orkhan.dev/2024/02/07/using-imagick-with-php-83-on-docker/
6 replies
Custom modal inside repeater
You can try this.
https://filamentphp.com/docs/3.x/forms/fields/repeater#customizing-the-repeater-item-actions
20 replies
sticky table header
Havent tried them but you may take a look and see what works for you.
https://filamentglow.com/trick/sticky-actions-in-forms-183851df
https://filamentphp.com/plugins/awcodes-sticky-header
6 replies
Fill FileUpload with generated images
I had a similar use case, here is how i did it https://github.com/mansoorkhan96/filament-unsplash-picker/blob/df4d6c3bd3fe720ec11e3cfe6686bd97a812d892/src/Actions/UnsplashPickerAction.php#L104
Maybe not the best way to do it, but it works good.
5 replies
How to reload select's options?
How about using
createOptionForm
?
https://filamentphp.com/docs/3.x/panels/getting-started#creating-new-owners-without-leaving-the-page4 replies