I am using a lightning component that is displayed in account's page layout.
Basically the component shows list of related records with functionality to edit and delete. This is how it looks
On clicking on edit I update the post code value and click on close without saving. Ideally the component should show the value which is there in the DB, not what is edited temperorily.
The actual value of post code is 481 but the value shown is 48 Does that mean I should use LDS only when single screen is involved in a transaction not like mine where I have 2 screens one for showing records with field value and one for modal dialogue to perform dml. If I still go ahead with Lds only I believe I need to use event firing so that the back screen behind the modal dialogue can be refreshed as the modal dialogue closes on clicking save or cancel. Please let me know the better approach and in case something wrong in my undersanding