Topic: Filter Plugin with dynamic filtering data
karluk priority asked 7 months ago
Expected behavior I want to build the list of checkboxes with dynamic data, so how to do that? Actual behavior currently, in the example all of them are hard coded. I want to build them dynamically(based on list of data) Resources (screenshots, code snippets etc.)
Bartosz Cylwik staff answered 7 months ago
Hi! In this example you can find how to add the dataset as an array of items. https://mdbootstrap.com/docs/vue/plugins/filters/#section-basic-example-array
Based on the array you should be able to get the data for the checkboxes. At the end, show them with use of v-for
directive.
Best Regards!
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Vue
- MDB Version: MDB5 4.1.1
- Device: Macbook
- Browser: Chrome
- OS: IOS
- Provided sample code: No
- Provided link: No