From 4c8d1385070b1524c212bf87e91ca00d7ec3dba6 Mon Sep 17 00:00:00 2001 From: salam Date: Thu, 21 May 2026 17:37:57 +0200 Subject: [PATCH] wip --- app/Filament/Pages/Statistic.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/Filament/Pages/Statistic.php b/app/Filament/Pages/Statistic.php index 4a649d8e..0c1f4dfc 100644 --- a/app/Filament/Pages/Statistic.php +++ b/app/Filament/Pages/Statistic.php @@ -154,7 +154,11 @@ class Statistic extends BaseDashboard ]), Slider::make('accuracy') ->disabled(fn (Get $get) => $get('similar_past_matches') == 'none') - ->fillTrack(fn (Get $get) => ! $get('similar_past_matches') == 'none') + ->extraAttributes([ + 'class' => 'pointer-events-none', // Disables cursor interaction + ]) + ->reactive() + ->fillTrack() ->default(0.5) ->decimalPlaces(1) ->tooltips()