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()