KoolReport's Forum

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

Dashboard: RangeSlider do not appears #2141

Open Andre Van Der Walt opened this topic on on Jun 11 - 1 comments

Andre Van Der Walt commented on Jun 11

Hi,

RangeSlider do not appears on the board.

class PurchasePrice extends RangeSlider
{
    protected function onInit()
    {

       ->value([20,80])
            ->range([
                "min"=>0,
                "max"=>100,
            ])
            ->scale(5)
            ->step(10)
            ->format([
                "prefix"=>"",
                "decimals"=>2,
            ])
            ->rtl(true)
            ->vertical(false);
    }

    protected function onChange($request,$response)
    {
        $this->sibling("AssetsTable")->update();
    }
}

On the board (path hidden)

use [...]PurchasePrice;
...
Row::create([
                            [
                                PurchasePrice::create()
                            ],
                            [

                            ]
                        ]),
Andre Van Der Walt commented 3 days ago

Any feedback please? The range slider do not work in dashboard.

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
bug

Inputs