Topic: Filters not working
ian_gale_mhs premium asked 2 years ago
Expected behavior
Hi, beginner user (new to bootstrap and javascript in general) with what is probably a basic question sorry.
I've downloaded the MDB5-STANDARD-UI-KIT-Pro-Essential-4.1.0 zip file, unzipped it and edited the index file.
I then went to https://mdbootstrap.com/docs/standard/plugins/filters/#docsTabsOverview and copied and pasted the "Basic example - DOM Elements" HTML code and the Javascript code into the custom scripts section.
Actual behavior
The filters do not appear to be working. Via developer options I can see that there is an error : Uncaught ReferenceError: Filters is not defined related to this line: const filtersInstance = new Filters(basicExampleFilters);
Resources (screenshots, code snippets etc.)
All the code came from the example page (Basic example - DOM Elements), is there something I'm missing or not initialising?
ian_gale_mhs premium answered 2 years ago
After looking at the MDB 5 Pro plugins installation guide at https://mdbootstrap.com/docs/standard/pro/installation/ it appears the zip files I downloaded from "My Orders" do not have the plugin folder?
EDIT - Turns out I'm an idiot and the plugins is only with the advanced package and I only have the essentials.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Premium
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 4.1.0
- Device: PC
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: Yes