KoolReport's Forum

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

DateRangePicker maxSpan #1290

Closed Serafim Gomes opened this topic on on Feb 7, 2020 - 2 comments

Serafim Gomes commented on Feb 7, 2020

I’m trying to limit the range to 30 days between start and finish, but doesn’t seem to work. use \koolreport\inputs\DateRangePicker; DateRangePicker::create

                   ...
                 "name"=>"dateRange",
                "options"=>array(
                    "maxSpan"=>array(
                        "days"=>30
                    )
                ),
                ...
KoolReport commented on Feb 10, 2020

I have forwarded your case to dev.team to investigate.

KoolReport commented on Feb 10, 2020

I seem problem is the daterangepicker library has not been upgraded yet so we will do so in the next version. For now, you can directly go to the DateRangePicker, download the zip file and then copy two files daterangepicker.js and daterangepicker.css and replace those files in koolreport\inputs\bowser_components\daterangepicker folder.

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

Inputs