Povilas K
Dynamic Repeater based on FileUpload->multiple() files
No unfortunately I don't have suggestion on this, I guess if someone uploads 40-50 files and would receive a massive repeater on the screen, it wouldn't be a good UX either, in my opinion.
Maybe a better experience would be some kind of wizard, or even submitting the form with files right away and then show releater in the EDIT form or something
5 replies
Dynamic Repeater based on FileUpload->multiple() files
@steexd what if you change the idea and create a repeater with FileUpload INSIDE the repeater and single file for each row?
isn't it what you actually want: one set of data for each file, and ability to add/remove files?
5 replies
Filament Sidebar Menu Search
@Mauricio G I know it's not the same as you want but have you considered a Spotlight plugin so people could find menus without actually looking at them?
https://filamentphp.com/plugins/pxlrbt-spotlight
Paid version is even better: https://filamentphp.com/plugins/pxlrbt-spotlight-pro
Watch the demo video here: https://filament.pxlrbt.de/spotlight-pro/
P.S. I'm not affiliated, just genuinely think it's a great work by @Dennis Koch 🙂
15 replies
redirect user after login or sign up
our tutorial: https://laraveldaily.com/post/filament-disable-dashboard-auto-redirect-url-after-login
2 replies
Price (in pence) field - show result in pounds in suffix/or somewhere else that's sensible
We had this tutorial: https://laraveldaily.com/post/filament-input-prefix-suffix-dynamic-based-on-other-input - not specifically your case because it's for MULTIPLE fields, but maybe would work for you, too, please try
6 replies
Filtering a Select Box
I recently reviewed a (paid) plugin on my channel called Record Finder Pro which does what you want: https://youtu.be/oa8boQMCU7M?si=avD_lC91AoOLW3ia
11 replies
Add a trait to every filament page
Technically, you can create your own "base" page class that would extend the filament class from vendor, and add a trait there.
And then extend all your edit/create/list pages from that new custom class.
Not sure if I would do it personally, as it puts the complexity on the other side...
Which package was it? Maybe I could come up with some other suggestions
4 replies
Change relation manager label
We just published this one, may be helpful: https://filamentexamples.com/tutorial/relation-managers-as-tabs-to-edit-a-lot-of-data
12 replies
Policy depends on request path
I personally wouldn't do that in Policies but rather when querying the data - showing only records belonging to specific relationship. Either modifying the query of the tables/forms, or via Global Scope.
7 replies
Use Array in Table Builder
Also, googled a few github discussions pointing that this feature of array in table will be properly available in Filament 4
https://github.com/filamentphp/filament/discussions/12920
6 replies
Use Array in Table Builder
You can use similar logic to our tutorial: https://laraveldaily.com/post/filament-load-table-data-from-3rd-party-api
6 replies
Header and Sidebar Customization
Just recently we posted one of the examples: https://filamentexamples.com/tutorial/change-active-navigation-item-color
8 replies