control.registerOnChange is not a function angular
Component code:
public form = new FormGroup({
...
images: new FormArray([....])
})
---------------------------------------------------------
Template code:
<input type="file" multiple formControlName="images" />
---------------------------------------------------------
Solution:
Replace formControlName with formArrayName
<input type="file" multiple formArrayName="images" />