I'm on mobile looking for some suggestions for when I get back home later today to work on this, so I can't share any of my direct code right now.
I'm trying to build a page where I can add new items to a model, with a button to add and delete additional forms. So let's say I want to add 3 items but I accidentally click the "add form" button one too many times and need to delete it, how can I add a delete button to only the added forms and not the default one without reloading the page?
I've gotten close. The add button works to add new forms, but I can only seem to get the delete button to populate on all of the forms or none of the forms.
Suggestions for adding a delete button only for new items?