Utilities for Forms
We have a few utility functions that make working with forms in angular a whole lot easier. Let's take a look at them.
Displaying errors
Errors can be listed nicely by using the getValidationErrors functions. Here is a quick example:
Using an API route to generate a form
Since most our forms are used to directly send data to your API it is convenient to have a method to generate a form from an API route. This can be achieved using the function getFormGroupFromORPCRoute: