Uncaught Error: Template parse errors:
Can't bind to 'matAutocomplete' since it isn't a known property of 'input'.
Created a new Angular project with following dependencies:
"dependencies": {
"@angular/animations": "^5.0.2",
"@angular/cdk": "^5.0.0-rc0",
"@angular/common": "^5.0.1",
"@angular/compiler": "^5.0.1",
"@angular/compiler-cli": "5.0.1",
"@angular/core": "^5.0.1",
"@angular/forms": "^5.0.1",
"@angular/http": "^5.0.1",
"@angular/material": "^5.0.0-rc0",
"@angular/platform-browser": "^5.0.1",
"@angular/platform-browser-dynamic": "^5.0.1",
"@angular/router": "^5.0.1",
"core-js": "^2.4.1",
"rxjs": "^5.1.0",
"zone.js": "^0.8.4"
},
"devDependencies": {
"@angular/cli": "1.5.3",
"@angular/compiler-cli": "5.0.1",
"@types/jasmine": "2.5.38",
"@types/node": "~6.0.60",
"codelyzer": "~2.0.0",
"jasmine-core": "~2.5.2",
"jasmine-spec-reporter": "~3.2.0",
"karma": "~1.4.1",
"karma-chrome-launcher": "~2.0.0",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^0.2.0",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.1.0",
"ts-node": "~2.0.0",
"tslint": "~4.5.0",
"typescript": "^2.6.1"
}
Full error msg:
compiler.js:466 Uncaught Error: Template parse errors:
Can't bind to 'matAutocomplete' since it isn't a known property of 'input'. ("t-form-field class="example-full-width">
][matAutocomplete]="auto" [formControl]="stateCtrl">
"): ng:///AppModule/AppComponent.html@2:59
Can't bind to 'formControl' since it isn't a known property of 'input'. ("le-full-width">
][formControl]="stateCtrl">
There is no directive with "exportAs" set to "matAutocomplete" ("State" aria-label="State" [matAutocomplete]="auto" [formControl]="stateCtrl">
Can't bind to 'value' since it isn't a known property of 'mat-option'.
(change)="stateCtrl.disabled ? stateCtrl.enable() : stateCtrl.disa"): ng:///AppModule/AppComponent.html@15:4
'mat-slide-toggle' is not a known element:
[ERROR ->]
(change)="stateCtrl.disabled ? stateCtrl.ena"): ng:///AppModule/AppComponent.html@14:2
No provider for NgControl ("
Sounds like you're missing MatAutocompleteModule
Closing this issue as it does not follow the issue template. Please file a new issue that follows the template, which gives the team the information needed to investigate.
@jelbourn You are right this is issue with the MatAutocompleteModule
Ahhhh ...Thanks @jelbourn... you are exactly right................. i was missing the MatAutocompleteModule.....
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
Sounds like you're missing
MatAutocompleteModuleClosing this issue as it does not follow the issue template. Please file a new issue that follows the template, which gives the team the information needed to investigate.