I have an accordion and expansion panel in angular application. I am able to add the expansion panels dynamically with some fields. When i click on the <p> tag, i should open the same pop up with the values in the expansion panel. It is like "Updating the data in the expansion panel". The issue is, when i click on the p tag, it is opening with empty fields. Kindly help me in populating the existing data.
The stackblitz url is Demo