I'm trying to use a Lightning Component in a Quick Action (introduced in Winter '17), but the documentation has no mention of placing a
Save button alongside the
Cancel button in the modal dialog footer.
The docs mention how to completely hide the Quick Header but hiding the header, also hides the New [Record] heading text.
And if we were to add our own header, there is a pre-defined padding introduced in the component tat makes the custom heading look so much out of shape.
Note the heading bottom border only spans to the component, because the full component is being placed inside a div with fixed padding, asnd thus the left-right border bottom seems cut-off.
Ideally, if I could place the
Cancel button on quick header I would love to get the save button to save my record just like how publisher SDK do in VF Quick Action and then I won't be required to Hide the Quick Header i my component.
Can anyone suggest how I can have the Save button shown and be used to save the record from quick header?