0

I have an Array. I need to send the form data as object along with form submit. check the below Code https://stackblitz.com/edit/angular-r9astq?file=src%2Fapp%2Fapp.component.ts

1
  • Above stackBlitz doesn't really tell what you're expecting. Can you implement the form over there? Commented Oct 25, 2021 at 10:47

2 Answers 2

1

you can use angular reactive forms and use form array for the same to implement dynamic form. I am adding the link for angular documentation :

Angular Reactive Forms - https://angular.io/guide/reactive-forms

Form Array - https://angular.io/api/forms/FormArray

Sign up to request clarification or add additional context in comments.

Comments

0

I have find out some solution with working solution. Go through the following solution.

https://stackblitz.com/edit/angular-2tmrqr?file=src%2Fapp%2Fapp.component.html

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.