Topic: Unable to load notification
wolexie free asked 3 years ago
Expected behavior I tried showing a notification on a page that has previously worked but no long displays if not on the home page of my application.
Actual behavior ERROR TypeError: Cannot read property 'nativeElement' of null at MdbInputDirective.ngAfterViewInit (ng-uikit-pro-standard.js:6447) Resources (screenshots, code snippets etc.)
Please update your code and use
mdbInput directive instead (and
mdbValidate if you need validation as well).
MdbInputDirective is deprecated and will be removed in the future versions.
I'm getting a similar error with 8.8.0 when trying to use the
ERROR TypeError: Cannot read property 'nativeElement' of null at MdbInputDirective.ngAfterViewInit (ng-uikit-pro-standard.js:6475) at callProviderLifecycles (core.js:32328) at callElementProvidersLifecycles (core.js:32293) at callLifecycleHooksChildrenFirst (core.js:32275) at checkAndUpdateView (core.js:44281) at callViewAction (core.js:44637) at execComponentViewsAction (core.js:44565) at checkAndUpdateView (core.js:44278) at callViewAction (core.js:44637) at execComponentViewsAction (core.js:44565)
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: 8.3.1
- Device: Desktop
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No