Topic: Mdb Angular Accordion
f12349 free asked 3 years ago
MDB 11.1.0
Expected behavior
When I change the value of collapsed in mdb-accordion-item, the accordion open or close
Actual behavior
When I change the value of [collapsed] in mdb-accordion-item, the arrows rotate but the accordion do not open or close_*Resources (screenshots, code snippets etc.)
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: MDB4 11.0.0
- Device: Laptop
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: No
Arkadiusz Idzikowski staff commented 3 years ago
@f12349 Please edit your post and provide HTML/TS code on which we will be able to reproduce this problem. We tested that on the example from documentation and it looks like the
[collapsed]
input is working correctly.f12349 free commented 3 years ago
The data passed to property return a true or false depending on the context, on the first iteration works fine, the problem is presented once the value of idLeccion change (I tried with a button who changes the value and the same happen). In that case the arrow rotate like the value is received but each accordion don't expand or collapse
Arkadiusz Idzikowski staff commented 3 years ago
Thank you, we managed to reproduce the problem on our end using this information. Unfortunately, this is something we need to fix in the component internal code, I'm afraid there is no easy workaround for now.