Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'firstCreatePass' of null - After update to angular 10 #40

Closed
suhailkc opened this issue Jul 6, 2020 · 5 comments

Comments

@suhailkc
Copy link

suhailkc commented Jul 6, 2020

I have got this error after an update from Angular 9 to Angular 10.

HTML:

<input class="form-control" type="text" placeholder="digits" ngModel name="digits" #digits="ngModel" digits/>

Error in console:

core.js:4073 ERROR TypeError: Cannot read property 'firstCreatePass' of null
    at providersResolver (core.js:27050)
    at Object.definition.providersResolver (core.js:27382)
    at resolveDirectives (core.js:7918)
    at elementStartFirstCreatePass (core.js:13866)
    at ɵɵelementStart (core.js:13904)
    at ɵɵelement (core.js:13979)
    at FormValidationComponent_Template (template.html:47)
    at executeTemplate (core.js:7364)
    at renderView (core.js:7173)
    at renderComponent (core.js:8431)
  • OS: macOS Catalina
  • Angular Version: 10.0.1
  • Typescript version: 3.9.5
  • npm version: 6.13.4
  • Node Version: 12.14.0
@bt-serdarbuyuktemiz
Copy link

downgrade ngx-custom-validators to version 8

@sannyjacobsson
Copy link

I have the same issue. Any information to when, or how (without downgrading), this issue can be resolved?

@matiasah
Copy link

Does anyone have a solution for this?

@rsaenen
Copy link
Owner

rsaenen commented Oct 14, 2020

Released with 10.0.0, please reopen the issue if necessary.

@rsaenen rsaenen closed this as completed Oct 14, 2020
@dtslvr
Copy link

dtslvr commented Nov 9, 2020

#47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants