function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

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. 


	<lightning:datatable >

	... code snippet ....

	<lightning:datatable />

	<lightning:button type="submit" />

PriyaPriya (Salesforce Developers) 
Hi ,

Can you please check below link which matches you requirment

Hope  this is helpful!