#85633"Save and create a new one" button in BE appends superfluous hash which resets defVals
Description
Even though the savedoknew buttons are created as inputButtons in the EditDocumentController, eventually they end up as something like:
<a href="#" data-name="_savedoknew" data-value="1" data-form="EditDocumentController" class="t3js-editform-submitButton"><span class="t3js-icon icon icon-size-small icon-state-default icon-actions-document-save-new" data-identifier="actions-document-save-new">
<span class="icon-markup">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g class="icon-color"><path ...></path></g></svg>
</span>
</span> Save and create a new one</a>
I’m editing records from backend modules and sometimes I’m in the context of a parent record and want to set this record as parent for newly created child records.
In my case the current “Save and create a new one” behaviour can lead to orphaned child records, but I can imagine more data-mess when the defVals aren’t populated to new “save and new” records that are created in one go.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.