Code segment: editAccount.html
Here we show the code for the Update Account button, which includes a call to the
updateAccount()
function in our controller:
Next is a segment of the updateAccount()
function in the controller.
As shown in the code segment our method updateAccount()
calls the method
updateRecord()
which we imported from the
lightning/uiRecordApi
module.