Issue with Dynamic Form Duplicates:
I am currently working with a reactive form that has two fields - name and value. There is an add button that duplicates the form by copying these fields. The challenge I am facing is with updating the values of the duplicated forms correctly.
Problem Description:
When I duplicate the form and enter new values for the value field, the respective popup button displays all the values entered so far in any version of the form. This creates confusion as only the input related to that specific duplicated form should appear in the popup.
If anyone can provide insights or solutions on how to resolve this issue, it would be greatly appreciated. Please feel free to leave comments below if further clarification is needed.
Demo Code: View Demo
Credit Note: Majority of the code in the provided link was created by user @VimalPatel on StackOverflow. Credit goes to him for his contribution.
During my testing, I encountered difficulty installing Boostrap in the sandbox code. Hence, I replaced the popup feature with a show button to display the values received from the forms.