Supabase File Upload Reset
Do I have to reset my 'FILE ' variable in between multiple uploads using the same form after completion ? If I use the form once , file goes to storage and the new 'case study ' record is created . . . But If I do it a second time , the image doesn 't get attached to the new record in supabase and my 'FILE ' variable shows as NULL . . . Do I need to do some sort of reset on the input field or the variable ? The supabase upload package has an action for it I used it but then swapped back cause I couldn ’t figure out how to edit styling Also , how do I use the “loop for toddle ” to do multi upload ? I put it out primarily as a point of reference for people though apparently some use it as -is Since it also doubles as a download button , it might get confusing It just uses a workflow that calls itself to handle multiple uploads I haven ’t done much cloning or component work so this will be good practice