Can't bind to 'matautocomplete' since it isn't a known property of 'input'. ("-form-field class="example-full-width">
Answers
Answered by
3
- When 'mat option' will be component of an angular component & it'll have 'value' input, then verifying is necessary for that part of module.
- When 'mat-option' will be a component for Web, then adding 'CUSTOM_ELEMENTS_SCHEMA' text to the '@NgModule.schemas' of that component to prevent that message.
- For allowing any property we have to add 'NO_ERRORS_SCHEMA' in the '@NgModule.schemas' of component. ("Autocomplete"> "): ng:///AppModule/OrderentryComponent.html@42:85
When 'mat-option' will not be known :
- When 'mat-option' will be angular component, verifying that part of module would be necessary.
- When 'mat-option' will be a component for Web, then adding 'CUSTOM_ELEMENTS_SCHEMA' text to the '@NgModule.schemas' of that component to prevent that message. (" <mat-autocomplete autoActiveFirstOption #auto="matAutocomplete">
Similar questions