angular2-multiselect-dropdown icon indicating copy to clipboard operation
angular2-multiselect-dropdown copied to clipboard

I can use this in angular version 11?

Open bluedragon1120 opened this issue 3 years ago • 3 comments

I am trying to use this package in angular 11, but I have issue. image I hope to get solution.

bluedragon1120 avatar Jul 03 '21 16:07 bluedragon1120

I have used this component for angular 11 and 12 and works as intended.

How did you require the component?

jaumarar avatar Jul 08 '21 10:07 jaumarar

You have to import the module which is parent to your current component. import { AngularMultiSelectModule } from 'angular2-multiselect-dropdown';

kumaraswamy-eng avatar Jul 15 '21 13:07 kumaraswamy-eng

I've also struggled with this error message. I missed the following from the usage instruction:

Angular's FormsModule is also required.

After adding

imports: [
        ...
        FormsModule,
        ...
]

to app.module.ts the error was gone.

davidsonnabend avatar Aug 13 '21 08:08 davidsonnabend