You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
connect directive cannot read property controls of undefined as it is checking for this.form and not this.formGroup #102
From what I can see there's a fix for this to use formGroup rather than form, here, but the source that I have doesn't seem to have this fix, so obviously I am getting an error as it's checking for form and not formGroup.
I am using the latest @angular-redux/forms package, v10.
changed the title [-]formGroup not mapping to connect directive when using reactive form[/-][+]connect directive cannot read property controls of undefined as it is checking for `this.form` and not `this.formGroup`[/+]on Sep 28, 2019
changed the title [-]connect directive cannot read property controls of undefined as it is checking for `this.form` and not `this.formGroup`[/-][+]connect directive cannot read property controls of undefined as it is checking for this.form and not this.formGroup[/+]on Sep 28, 2019
I am also having this exact problem with 10.0.0. Very frustrating. Can't do form integration at this point... I haven't found the silly thing you're missing.
It seems as though NPM does not support installing a package from git when it's in a monorepo. This is a huge pain in my butt. Does anyone on this thread know how to install that way?
A quick solution would be a 10.0.1. @smithad15 could you knock this out?
Activity
[-]formGroup not mapping to connect directive when using reactive form[/-][+]connect directive cannot read property controls of undefined as it is checking for `this.form` and not `this.formGroup`[/+][-]connect directive cannot read property controls of undefined as it is checking for `this.form` and not `this.formGroup`[/-][+]connect directive cannot read property controls of undefined as it is checking for this.form and not this.formGroup[/+]dkowis commentedon Dec 2, 2019
I am also having this exact problem with 10.0.0. Very frustrating. Can't do form integration at this point... I haven't found the silly thing you're missing.
dkowis commentedon Dec 2, 2019
I get a slightly different error though:

dkowis commentedon Dec 2, 2019
That referenced commit is the 1st commit after releasing 10.0.0.
Could we get a 10.0.1 please?
dkowis commentedon Dec 4, 2019
It seems as though NPM does not support installing a package from git when it's in a monorepo. This is a huge pain in my butt. Does anyone on this thread know how to install that way?
A quick solution would be a 10.0.1. @smithad15 could you knock this out?
dkowis commentedon Dec 4, 2019
https://github.com/angular-redux/platform/blob/master/CONTRIBUTING.md#canary-releases
I just discovered this in the CONTRIBUTING.md, that should be sufficient for now!
@tgdeakin it works great using the canary build. No problems, and I see my

FORM_CHANGEDaction, and my state updates: