This commit is contained in:
salam committed 2026-05-25 17:19:24 +02:00
1 parent c99ba7219f
commit 794a032de2
1 file changed
+1 -17
+1 -17
View File
@@ -128,7 +128,7 @@ class Statistic extends BaseDashboard
]),
Slider::make('accuracy')
->hiddenLabel()
->disabled(fn (Get $get) => $get('similar_past_matches') == 'none')
->disabled(fn (Get $get) => $get('similar_past_matches') != 'none')
->fillTrack()
->default(5)
->step(0.1)
@@ -137,22 +137,6 @@ class Statistic extends BaseDashboard
->range(minValue: 0, maxValue: 1)
->pips()
->live(),
// Select::make('accuracy')
// ->disabled(fn (Get $get) => $get('similar_past_matches') == 'none')
// ->default(0.5)
// ->options([
// '0.1' => '0.1',
// '0.2' => '0.2',
// '0.3' => '0.3',
// '0.4' => '0.4',
// '0.5' => '0.5',
// '0.6' => '0.6',
// '0.7' => '0.7',
// '0.8' => '0.8',
// '0.9' => '0.9',
// '1' => '1.0',
// ])
// ->native(false),
])->columns(6)
->columnSpanFull(),
Fieldset::make('Player')