wip
This commit is contained in:
1 parent
fae9342af4
commit
eac8093949
1 file changed
+2
-1
@@ -9,6 +9,7 @@ use App\Filament\Widgets\PunctualChart;
|
||||
use App\Models\Element;
|
||||
use App\Models\StatisticFixtures;
|
||||
use BackedEnum;
|
||||
use Closure;
|
||||
use Filament\Actions\Action;
|
||||
use Filament\Forms\Components\DatePicker;
|
||||
use Filament\Forms\Components\Select;
|
||||
@@ -154,7 +155,7 @@ class Statistic extends BaseDashboard
|
||||
]),
|
||||
Slider::make('accuracy')
|
||||
->disabled(fn (Get $get) => $get('similar_past_matches') == 'none')
|
||||
->fillTrack()
|
||||
->fillTrack(fn (Closure $get, Slider $component): bool => ! $component->isDisabled())
|
||||
->default(0.5)
|
||||
->decimalPlaces(1)
|
||||
->tooltips()
|
||||
|
||||
Reference in new issue
Block a user