Materialize CSS collapsible component error

I have two collapsible component inside this page.

Why is the second one not working??


It’s because you initialized only the first collapsible, not all:

// This selects the first element with the specified class

// This selects all elements that match:
1 Like

oh wow. Thank you!

I assume in my app.js file I should check all the methods then!

1 Like