Hello, I need to create custom filter menu for my grid with two datepickers - similar to this example.
My constructor looks like this:
constructor(private element: ElementRef, private popupService: SinglePopupService) {
...
}
I inject the SinglePopupService as shown in the StackBlitz example, in order to be able to prevent closing the datepicker popup, but it's not working - I'm getting the following error:
NullInjectorError: R3InjectorError(MyLazyLoadedModule)[SinglePopupService -> SinglePopupService -> SinglePopupService -> SinglePopupService]: NullInjectorError: No provider for SinglePopupService!
I'm using this functionality in a lazy loaded module of my app, but I have the GridModule as well as the DateInputsModule imported.
Could you please help me with this?