Topic: Components does not work in child modules
juliocgm83 free asked 6 years ago
Hi, there is a way to use this library using child modules? I having issues to integrate this in child modules, there are no error, the component render correctly, but does not work i mean for example the navbar component render correctly, but the toggle functionality does not work, when you click the navbar-toggler button nothing happen.
all this is in a child component, if i do that in the app module all work properly.
I think there is a problem with the javascript related with the components when using in child modules, othe example the char work perfectly in the app module, but in a child module it does not show up, this will be because the char is all javascript.
any help?
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Opened
Specification of the issue
- ForumUser: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Tags
Dawid Adach pro commented 6 years ago
Dear juliocgm83, yes use child modules along with MDB, however, please keep in mind that each module has to have MDB imported separately or inherit it from a parent.