Angular 2 — Implementing a Custom Form Control with Validation (JSON-Input)
Tarik A


Nice post!
Do you know if there is a way to inherit to some child (for this example to textarea) the ‘ng-invalid’ and ‘ng-dirty’ conditional classes that angular sets automatically to the custom component (for this example <json-input>).

Sorry for my english and thanks for your post.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.