Open JohnEricson opened 9 years ago
My bad! This doesn't really solve the problem. Now it uses the hardcoded minRange, maxRange in properties instead of taking them from the datasource query.
Now I've fixed so the solution works with datasource queries as earlier. I would like this fix to be pulled into master.
Hi @JohnEricson,
Thanks for your contribution. :smile: I'll give a test soon.
Joel
Solves "TypeError: Cannot read property 'length' of undefined" error when using slider connected to datasource in CDE dashboard. The cause of the problem is that sliderData.resultset.length is executed before sliderData = values, resulting in the slider failing to render on start of the dashboard.
Complete error: