I face issue in formGroup. First Based on URL I take some value and call to API for retrieve particular user-data for pre-field text.
formGroup
register.html
I missed the square brackets in formGroup in markup as below
and it throws similar error as
ERROR TypeError: Cannot create property 'validator' on string 'form'
Once the square brackets added in formGroup (see below), the error disappears
....