KoolReport's Forum

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

Visual Query Builder - With Date Input #3361

Open Tathagata Basu opened this topic on on Oct 21 - 2 comments

Tathagata Basu commented on Oct 21

Hello All,

I am implementing the VisualQuery Builder for one of my reports and found that the date type fields are not working properly in the filter section. As I define this field as date, the VisualQuery Builder is trying to update it with a date picker, but it fails to render the calendar. Additionally, the sibling update is not getting the latest value for the said field.

This is the schema configuration

"regDate"=>array(
    "alias"=>"Reg_Date",
    "display"=>"Reg Date",
    "type" => "date",
),

This is how it looks in the UI

Issue Image

Any help, suggestion, or way around is appreciated.

Thanks,

Tathagata

Sebastian Morales commented on Oct 22

Would you pls open browser dev tool, reload the VisualQuery page and see if there's any error message (red lines) in the dev tools console?

Tathagata Basu commented on Oct 24

I am getting one error though, not sure if it is for KoolReport or Visual Query

TypeError: status.on is not a function
    at <anonymous>:4:20
    at KoolReport.js:105:25
    at Array.forEach (<anonymous>)
    at Object.checkScriptsAndCallback (KoolReport.js:102:20)
    at Object.js (KoolReport.js:43:14)
    at Object.<anonymous> (KoolReport.js:37:22)
    at KoolReport.js:105:25
    at Array.forEach (<anonymous>)
    at Object.checkScriptsAndCallback (KoolReport.js:102:20)
    at Object.js (KoolReport.js:43:14)

Also, sometimes getting this one as well

TypeError: status.on is not a function
    at legacy?kdr=eyJyb3V0ZSI6IkFwcC9Db21tdW5pY2F0aW9uTWFuYWdlbWVudC9BdWRpZW5jZU1hbmFnZW1lbnQiLCJhY3Rpb24iOiJpbmRleCIsInBhcmFtcyI6eyJhdWRpZW5jZUlkIjoxNCwiYWN0IjoiZWRpdCJ9fQ==:793:20
    at KoolReport.js:105:25
    at Array.forEach (<anonymous>)
    at Object.checkScriptsAndCallback (KoolReport.js:102:20)
    at Object.onScriptLoaded (KoolReport.js:88:14)

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
None yet

None