Bug form in action class
gfsoluzioni opened this issue · 0 comments
gfsoluzioni commented
Hi, I would like to report a bug regarding a custom action that I call through the append() method of tools within a grid. When I click on the button, a popup opens with a form inside. I have found that if I open the popup n times and close it without saving the data in the form, when I go to save it it duplicates it n times. However, if I reload the page every time I close the popup without saving, this doesn't happen. It appears that the page is not completely reloaded when you close the popup, and the data remains in the browser cache, and when I reopen it and save, the data is sent again, causing duplication. I attach a video that shows the anomaly found:
I use Laravel 10 and PHP 8.1