DEV Community

Jared Daines
Jared Daines

Posted on

Short Angular Tips: #1 Reactive Form debugging

When debugging a reactive form in angular I've found it useful to output the form on the view using the following

<pre>Form values: {{ form?.value | json }}</pre>

The pre tags keep the JSON formatted nicely.

Top comments (0)