Answer the question
In order to leave comments, you need to log in
Duplicate fields Template driven form, how to separate data?
There is a field in which a number is entered (as needed) and, for example, the user entered 3 - after which 3 blocks with the same fields appeared in the form:
Block 1:
Name Date Description
Block 2:
Name Date Description
Block 3:
Name Date Description
Via ngModel the complexity with the fact that the entered data is duplicated for all fields, how to correctly beat all this, especially since the data for each block forms a model (entity) that will be sent to the database at the next stage -_- I hope the essence of the problem is clear.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question