Introducing events and attributes in Lightning record edit form and input field

The onerror action returns the following parameter:

Parameter Type Description
error Object error: Data returned by the form submission. errorCode: An error code with information about the error; for example, INSUFFICIENT_PRIVILEGES. message: Description of error; we recommend using Lightning:messages to display your error messages in the UI.

 

The onload action returns the following parameter:

Parameter Type Description
recordUi Object

The object's metadata. For more information, see the User Interface API Developer Guide at https://developer.Salesforce.com/docs/atlas.en-us.212.0.uiapi.meta/uiapi/ui_api_get_started_supported_objects.htm.

 

Get Learning Salesforce Lightning Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.