Sign in

Sign up

Can’t bind to ‘mdbCollapse’ since it isn’t a known property of ‘div’

MDB SupportCategory: MDB AngularCan’t bind to ‘mdbCollapse’ since it isn’t a known property of ‘div’
Constantin Exari asked 5 months ago in MDB free, version:4

I copied this code in my angular component

<button class="btn btn-primary waves-light" type="button" (click)="test.toggle()" mdbRippleRadius>
    Toggle collapse

<div class="" [mdbCollapse]="isCollapsed" #test="bs-collapse">
    <p>Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident.</p>

but it doesn’t work, it show’s me this error: Template parse errors: Can’t bind to ‘mdbCollapse’ since it isn’t a known property of ‘div’.

3 Answers
Constantin Exari answered 5 months ago

I see that the support for free version of MDB actually doesn’t exist here. Nice, very nice 🙂

Witold Tkaczyk answered 5 months ago

Hi Constantin Exari, 

Sorry, I cannot reproduce your error. Would you please send me some code or even your package in order to investigate your error? You can send it to


andrews88l Pro User answered 3 days ago

I’m having the same issue with MDB Pro version 5…


Literally copied and pasted the example code and it doesn’t work.

Damian Gemza replied 2 days ago

Dear Andrews,
Please add schemas: [NO_ERRORS_SCHEMA] to your app.module.ts
Best Regards,