I have a usecase where I want to update some field values at the record before firing the component.find("edit").get("e.recordSave").fire()
event.
Here is the markup which I am using
<force:recordEdit aura:id="edit" recordId="0069000000PUrus"/>
<lightning:button label="Save & Next" onclick="{!c.doSaveAction}" />
Controller
doSaveAction : function(component, event, helper) {
// Here, can I update a field value before sending record to save event
component.find("edit").get("e.recordSave").fire();
}
Please let me know if it is possible.