wip tp position

This commit is contained in:
salam committed 2026-10-06 23:25:59 +02:00
1 parent be67754a38
commit 498660e9cc
1 file changed
+10 -9
+10 -9
View File
@@ -131,7 +131,7 @@ class Statistic extends BaseDashboard
Grid::make([ Grid::make([
'default' => 1, 'default' => 1,
'sm' => 2, 'sm' => 2,
'md' => 5, 'md' => 6,
]) ])
->columnSpanFull() ->columnSpanFull()
->schema([ ->schema([
@@ -227,17 +227,10 @@ class Statistic extends BaseDashboard
}) })
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('ss_player_id', null); $set('ss_player_id', null);
$set('team_position', null);
$this->dispatch('reset-tab'); $this->dispatch('reset-tab');
}) })
->placeholder('Select Team'), ->placeholder('Select Team'),
]),
Grid::make([
'default' => 1,
'sm' => 3,
'md' => 5,
])
->columnSpanFull()
->schema([
Select::make('team_position') Select::make('team_position')
->live() ->live()
->hiddenLabel() ->hiddenLabel()
@@ -259,6 +252,14 @@ class Statistic extends BaseDashboard
])->afterStateUpdated(function (callable $set) { ])->afterStateUpdated(function (callable $set) {
$set('ss_player_id', null); $set('ss_player_id', null);
}), }),
]),
Grid::make([
'default' => 1,
'sm' => 3,
'md' => 4,
])
->columnSpanFull()
->schema([
Select::make('statistic_type') Select::make('statistic_type')
->live() ->live()
->hiddenLabel() ->hiddenLabel()