Topic: After change to MDB4 esseintial
Wojciech Marciniak asked 2 years ago
Expected behavior Works
Actual behavior 1. If 'mdb-icon' is an Angular component, then verify that it is part of this module. 2. If 'mdb-icon' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
Resources (screenshots, code snippets etc.)
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: MDB5 4.0.0
- Device: PC
- Browser: Chrome
- OS: Widows 10
- Provided sample code: No
- Provided link: No
Wojciech Marciniak commented 2 years ago
What went wrong? MDB4 (jQuery powered), Angular
Arkadiusz Idzikowski staff commented 2 years ago
Did you import
IconsModule
? If you use lazy loading, you may need to add this import in every lazy-loaded module in which themdb-icon
component is used (if theIconsModule
import is not added to the mainAppModule
).Wojciech Marciniak commented 2 years ago
Did. As well as MDBIcon
Wojciech Marciniak commented 2 years ago
What's more - "maxHeight is not a known property of table"
Wojciech Marciniak commented 2 years ago
Please! Time matters
Arkadiusz Idzikowski staff commented 2 years ago
Could you please edit your first post and provide some information about the module configuration and code you used to render the components/components?
Some information about the MDB Angular version would also be helpful. It looks like you use MDB4 and in the specification of this issue you mentioned MDB5 (a different library built with Bootstrap 5)
This kind of error usually occurs when the component module is not imported correctly (or when the component in which you use MDB syntax is not declared in module that has MDB modules imports)
Please make sure that you import
IconsModule
and notIconsModule.forRoot()
, it looks like there is an error in the modules list in our docs. You can also try to just import all the MDB modules in the mainapp.module
:MDBBootstrapModulesPro.forRoot()
Wojciech Marciniak commented 2 years ago
Simply, my old code in package.json was: "ng-uikit-pro-standard": "git+https://oauth2:XXX@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git"
The license expired. Now I renewed, but that link does not work. To be precise - I need a link to the old, good Angular MDB 4
Wojciech Marciniak commented 2 years ago
Pls advise. Just what to put the right entry into Angular's package.json
Wojciech Marciniak commented 2 years ago
Shame waiting over 24h for a simple answer. Premium support? The Polish attitude indeed.