Answer the question
In order to leave comments, you need to log in
What is the best way to validate large dynamic forms in Angular2?
In general, there is a form with a table in it, which has input and texparea cells in it. In the header of the table, everything is required to be filled in, as well as in the first column. Added to all this is the ability to create and delete rows and columns. And to all this you need to fasten validation.
So far, the only thing I have come up with is to generate an object with properties of the "[row][column][inputType]" type through the FormBuilder, but, damn it, it will need to be generated constantly when the number of columns and rows changes, somehow it does not smile at me. Is there any other way? Thanks in advance.
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