F
Filament2mo ago
ecoy

I want to have a modal that pops up after the upload of excel file

I basically have a file uploader, and once the excel file is loaded here, there's a button and when clicked, it scans the contents and fills up the repeaters. Now for every product within this excel that is not in the DB (normall I leave them null when filling the repeater) I want to show a modal with a create page where the product code text field is disabled and filled with the unregistered product. By filling this form, user can create a new product and after click 'createAnother' to move to the next product not found in the DB. Once all products are added, THEN, the repeaters would be filled. The problem right now is that while you can create modals on the action, and attach a form to the modal too, I dont know how to make this modal reappear? Here's a code snippet - after the last else if I want to be able to close the modal or refresh it with the next product code essentially. How can I do these?
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?