You need to sign in to do that
Don't have an account?
jojoforce
Inline Edit with lightning:datatable is submitting the form on edit
I have a lightning:recordEditForm and inside is a nested lightning:datatable in which inline edit is enabled for some of the fields, for some reason when I click the pencil icon or inline edit for the datatable, it is submitting the form.
The code snippet looks something like below.
The code snippet looks something like below.
<lightning:recordEditForm> <lightning:datatable > ... code snippet .... <lightning:datatable /> <lightning:button type="submit" /> </lightning:recordEditForm>
Can you please check below link which matches you requirment
https://salesforce.stackexchange.com/questions/306753/lightning-datatable-that-is-nested-inside-a-recordeditform-call-onsubmit-on-ev
Hope this is helpful!
Regards,
Ranjan