I'm trying to get field values at Lightning:recordEditForm onSubmit() event.In the documentation example it shows below.
my onSubmit event handler as below,
I end up getting error,
[event.detail is undefined]
Not too sure why I'm getting this error, I hope it's correct as per documentation.
Question: Why do I get this error, seems not a spelling mistake?
Also wondering where to find any documentation on what's available in Lightning:recordEditForm onSubmit event's parameters? Lightning component Library Documentation seems not covering much information this regard.
Appreciate any help, suggestions on this. Cheers!