Topic: MdbInputDirective ngOnInit ERROR
MdbInputDirective.prototype.ngOnInit = function () {
...
if ((mutation.target['classList'].contains('ng-pristine')) && /** @type {?} */ (mutation.target['classList'].contains('ng-invalid'))) {
mutation.target.offsetParent.childNodes.forEach(function (element) {
if (element.classList.contains('text-danger') || element.classList.contains('text-success')) {
_this._renderer.setStyle(element, 'visibility', 'hidden');
}
});
nextage
pro answered 3 years ago
Damian Gemza staff commented 3 years ago
Dear nextage, Could you please do npm install one more time? I have fixed this problem, so it should work fine now. Best Regards, Damian
nextage
pro answered 3 years ago
Resolved
- User: Pro
- Premium support: No
- Technology: Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: Yes
- Provided link: No
Damian Gemza staff commented 3 years ago
Dear nextage, Could you please specify in which scenario you're getting that error? Or sample code on which I'll be able to check it? It would help me to debug your case. Best Regards, Damian