Demo App Create and Create Another not working?
I have a modal for creating a resource but when clicking on "create and create another" the modal closes instead of remaining open for creating the next record.
I checked the Demo App to find out and found the following:
In Categories > New Category, the modal also closes when clicking "create and create another".
In Posts > Manage Comments > New Comment the modal remains open, as expected, allowing the creation of another record by clicking on "create and create another".
Looking at the source code, I couldn't tell the difference between one and the other.
Any tips? I think the ideal behavior would be the one seen in "New Comment"
3 Replies
Yes, in the demo, you're right: that's probably a bug. In the Categories page, which uses a ManageCategory page, instead of a ManageRelatedRecords page, the create-and-create-another is just closing.
Edit: It's a known issue. Feel free to chime in on the open bug report: https://github.com/filamentphp/filament/issues/10094
GitHub
Create another action stopped working since v3.0.102 · Issue #10094...
Package filament/filament Package Version v3.0.102 Laravel Version v10.34.2 Livewire Version v3.0.8 PHP Version PHP 8.2.0 Problem description The "create another" action is no longer work...
oh Thx @DrByte
I have to refine my searches because I tried to search for the problem to avoid asking for help unnecessarily, but I hadn't found it.