Error: Module not found: Error: Can't resolve 'ng-multiselect-dropdown/list-filter.pipe' in
'D:\Source\Repos\Mentallys-Backend\src\client\src\app\common\multiselect-dropdown'
From my point of view, as I use NgMultiSelectDropDownModule.forRoot() in my module, I'm supposed to be able to use the list-filter.pipe. I guess the issue is the build is not able to find how to instanciate the constructor of my component. I added providers : [ListFilterPipe] in my module, but it didn't work too.
as @wei noticed it on stackoverflow, as list-filter.pipe is not added to export, it's not possible to inherite from ng-multiselect-dropdown.
Could you add it?
I would like to extend your existing npm package (https://www.npmjs.com/package/ng-multiselect-dropdown) but I got an issue.
Here is my component which overrride the existing component:
my module:
But I have an issue with the build:
From my point of view, as I use NgMultiSelectDropDownModule.forRoot() in my module, I'm supposed to be able to use the list-filter.pipe. I guess the issue is the build is not able to find how to instanciate the constructor of my component. I added providers : [ListFilterPipe] in my module, but it didn't work too.
How to fix this issue?
Note: I posted on Stackoverflow too: https://stackoverflow.com/questions/75659218/how-to-extends-an-existing-npm-package-in-angular