Error: Can't bind to 'formControl' since it isn't a known property of 'input' in Angular Material Autocomplete
Hello everyone. I'm new to Angular and trying to use the Autocomplete component from Angular Material. I installed all dependencies, imported modules, but when running the application I get an error in the console:
**Can't bind to 'formControl' since it isn't a known property of 'input'.**
My component code looks like this:
```typescript
import { Component } from '@angular/core';
import { FormControl } from '@angular/forms';
@Component({
selector: 'app-search',
template: `
{{ option }}
No answers yet.
Log in to leave an answer