silverstripe-gridfield-betterbuttons icon indicating copy to clipboard operation
silverstripe-gridfield-betterbuttons copied to clipboard

Silverstripe 4 saveAndAdd not working properly

Open Kevinn1109 opened this issue 6 years ago • 0 comments

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.

Kevinn1109 avatar Mar 19 '19 12:03 Kevinn1109