Topic: Why is not expand/collapse working as the demo?
patlar free asked 5 months ago
Expected behavior Expand/collapse is not working. Running development on a Docker container with Nginx and PHP (richarvey/nginx-php-fpm). The browser's development tools do write out the hidden div:s but expanding the row to view them does not work
Actual behavior Expand/collapse functioning as intended
Resources (screenshots, code snippets etc.) Followed guide: https://mdbootstrap.com/snippets/jquery/cam/979615#html-tab-view
Running the code from the linked guide with this header (and of course closing HTML tags):
This example does not work because it was created for MDB4 jQuery but you are using MDB5.
You need to update the data attributes. For example, in MDB5, the
data-toggle="collapse" attribute it also has
mdb and looks like this:
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Free
- Premium support: No
- Technology: MDB Standard
- MDB Version: MDB5 4.2.0
- Device: Macbook Pro
- Browser: Google Chrome
- OS: MacOS
- Provided sample code: No
- Provided link: Yes