Adding rml-field to template will build the required reactiveforms definitions automatically. Create custom form fields.
npm install ngx-form-fields
{{appFrom.error}}
(click)="appFrom.submit()">Save
,
[ngClass]="{'is-invalid': error }" [attr.readOnly]="readonly?'':null" [attr.disabled]="disabled?'':null"
(blur)="blur()" [id]="guid" type="text" placeholder="{{placeHolder || label}}">
{{error}}