From 498660e9cc2fdeb5ae61cae702c6eb3a2c6859be Mon Sep 17 00:00:00 2001 From: salam Date: Tue, 6 Oct 2026 23:25:59 +0200 Subject: [PATCH] wip tp position --- app/Filament/Pages/Statistic.php | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/app/Filament/Pages/Statistic.php b/app/Filament/Pages/Statistic.php index cd49a557..ec9ab93e 100644 --- a/app/Filament/Pages/Statistic.php +++ b/app/Filament/Pages/Statistic.php @@ -131,7 +131,7 @@ class Statistic extends BaseDashboard Grid::make([ 'default' => 1, 'sm' => 2, - 'md' => 5, + 'md' => 6, ]) ->columnSpanFull() ->schema([ @@ -227,17 +227,10 @@ class Statistic extends BaseDashboard }) ->afterStateUpdated(function (callable $set) { $set('ss_player_id', null); + $set('team_position', null); $this->dispatch('reset-tab'); }) ->placeholder('Select Team'), - ]), - Grid::make([ - 'default' => 1, - 'sm' => 3, - 'md' => 5, - ]) - ->columnSpanFull() - ->schema([ Select::make('team_position') ->live() ->hiddenLabel() @@ -259,6 +252,14 @@ class Statistic extends BaseDashboard ])->afterStateUpdated(function (callable $set) { $set('ss_player_id', null); }), + ]), + Grid::make([ + 'default' => 1, + 'sm' => 3, + 'md' => 4, + ]) + ->columnSpanFull() + ->schema([ Select::make('statistic_type') ->live() ->hiddenLabel()