I'm submitting a ...
[ x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
Do you want to request a feature or report a bug?
Both. so i'm wondering if ngx-modialog still works with angular 8. i attempted to get it working, everything seems to be working find except one issue that i'm facing.
What is the current behavior?
NullInjectorError: No provider for Modal$$1!
a NullInjectorError due to the dependency injection not working properly in the constructor declaration of modal (public modal: Modal)
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via
https://plnkr.co or similar (you can use one of the templates above as a starting point).
set up ngx-modialog
declare public modal: Modal in the constructor of the desired component
ng serve
What is the expected behavior?
the code will compile with no errors
IMPORTANT: Please provide a sample using: http://plnkr.co/edit/lV7zsw7Yqossgs9JOfQU?p=preview
I'm submitting a ... [ x] bug report [ ] feature request [ ] question about the decisions made in the repository
Do you want to request a feature or report a bug? Both. so i'm wondering if ngx-modialog still works with angular 8. i attempted to get it working, everything seems to be working find except one issue that i'm facing.
What is the current behavior? NullInjectorError: No provider for Modal$$1! a NullInjectorError due to the dependency injection not working properly in the constructor declaration of modal (public modal: Modal)
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (you can use one of the templates above as a starting point).
What is the expected behavior? the code will compile with no errors
Please tell us about your environment:
Angular version: angular 8
Browser: [Chrome 78.0.3904.108]