F
Filament5mo ago
Groli

How would you make primary file chooser out of list of files?

Hello, I have a question about how to choose primary file out of multiple files from a FileUpload? I need to choose primary image in my case and I'm not sure which approach would fit the best. Do you have any experience doing this? Thanks for any suggestions in advance!
2 Replies
awcodes
awcodes5mo ago
You’re best bet is just going to make the first image the primary one and users can drag to rearrange the order. But that could depend on how the images are stored too. If they are a relationship then you’re also going to need a column to store their order.
Groli
GroliOP5mo ago
Thank you for the suggestion, I really appreciate it!
Want results from more Discord servers?
Add your server