Now that we can get to the audit page and get the appointment data, let's set up the form so that we can audit the appointment. Since our appointments can have different units, and we need to inspect different things in each unit type, it would be best to use some type of dynamic form. ngx-formly makes dynamic forms simpler and takes away all the setup with a simple API. By using ngx-formly, you can set up different field types and reuse the template in your dynamic forms throughout the whole application.
ngx-formly supports different UI libraries, such as Bootstrap, Angular Material, Ionic, NativeScript, Kendo UI, PrimeNG, and others. The configuration for the ngx-formly field can do a lot of different things. You can find various examples at https://ngx-formly.github.io/ngx-formly/examples.
Let's use the schematics...