DEV Community

Discussion on: You Should Upgrade to Angular 9 TODAY

 
frosty profile image
Aaron Frost

Can you share your code? There was a change to formGroup in v9.

Thread Thread
 
frosty profile image
Aaron Frost

Are you using a form tag, or an ng-form tag?

Thread Thread
 
qixoticsoftware profile image
Richard Haber

Aaron, thanks for taking the time to help me track this down. Here are some snippets of the code and relevant parts of package.json.

  <form [formGroup]>
    <label for="user-login-email">Enter your email: </label>
    <input id="user-login-email"  formControlName="userLoginEmail">
  </form>

"@angular/animations": "^9.0.0-rc.7",
"@angular/cdk": "^9.0.0-rc.6",
"@angular/common": "^9.0.0-rc.7",
"@angular/compiler": "^9.0.0-rc.7",
"@angular/core": "^9.0.0-rc.7",
"@angular/forms": "^9.0.0-rc.7",

"@angular-devkit/build-angular": "^0.900.0-rc.7",
"@angular/cli": "^9.0.0-rc.7",
"@angular/compiler-cli": "^9.0.0-rc.7",
"@angular/language-service": "^9.0.0-rc.7",