Answers for "no directive found with exportas 'matmenu'."

1

No directive found with exportAs 'matAutocomplete'

import { MatAutocompleteModule, MatFormFieldModule } from '@angular/material';

@NgModule({
    imports: [
        ....
        MatAutocompleteModule, 
        MatFormFieldModule,
        ....
    ],
    ....
})
export class AppModule { }
Posted by: Guest on July-22-2020
1

no directive found with exportas 'ngmodel' angular 10

Check that you have imported the component itself for which you are trying to use the form.
Posted by: Guest on March-24-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language