Ashi Ashi~
Ashi Ashi~
FFilament
Created by Ashi Ashi~ on 10/6/2024 in #❓┊help
Question: How to Customize Filament File Upload Card Layout with Switch for Marking as Main
I'm working on a Filament form to handle file uploads, specifically for images. I need to customize the layout of each uploaded image's card to include an input switch (or a toggle) for adding labels or marking the image as the main image. The goal is: To add an input switch to each image card that lets me mark the image as the main one. Possibly allow the user to add a label to the image using a simple text field or toggle switch. Has anyone done something similar, or can anyone point me in the right direction? I'm looking for guidance on how to override the default layout of the image cards and implement these custom inputs. Filament version: 3.x Laravel Version: 11 Thank you in advance!
2 replies