DEV Community

Discussion on: Custom angular form component

Collapse
 
timsar2 profile image
timsar2

I made it with an ngfor and dynamic element, But could'nt write a test for it.
I would be good and thankfuly if you write test too and use dynamic element with ngfor

Collapse
 
anirbmuk profile image
Anirban Mukherjee

Yes unit tests were far from my mind when I wrote this article, should ideally take a look at it :-)

As for dynamic components, this article is not quite related to that. I wrote another article Angular dynamic components with code splitting which might be closer to what you're talking about.

Collapse
 
timsar2 profile image
timsar2

Very well, Looking for your next post that wil cover unit testing and dynamic element 😅😄