KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Issue regarding select2 input filter in dashboard kwidget #3165

Open Komuraiah A opened this topic on on Oct 6, 2023 - 1 comments

Komuraiah A commented on Oct 6, 2023

Hi Team, am created kwidget report and added above two select2(multiselect) input filter for that report. the one is "states" and 2nd filter is "state branches". here am trying to implement onload change for 2nd filter. so 2nd filter needs to be updated based on the first filters selected values in koolreport dashboard. and below am sharing screenshot

Sebastian Morales commented on Oct 9, 2023

If you want to use Select2 in Dashboard it's best to use the native \koolreport\dashboard\inputs\Select2 one. There's a demo to use it here:

Dashboard inputs

You can see the function actionChange() in MultipleSelect2Demo.php where any other widget can be updated including another Select2 if you want.

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed

Dashboard