Silverstripe 4 saveAndAdd not working properly
Kevinn1109 opened this issue · comments
Kevinn1109 commented
I have configured the config.yml of betterbuttons to include a SaveAndAdd button to the create action. However, this button does not work as it is expected.
When navigating to the /new page in the CMS, this button does not refresh the page. However, it does create a new row in the table. If I refresh the /new page, this button works as intended and redirects the user to a new blanco form.
Expected behaviour: the Save and New button should redirect the user to a new form with blanco fields when the page is accessed by navigating through the CMS, instead of requiring a page refresh before this behaviour works.