wip
This commit is contained in:
1 parent
b74c374586
commit
1a46e5d887
6 files changed
+60
-18
No files matched your search
@@ -143,7 +143,7 @@ class Statistic extends BaseDashboard
|
||||
->prefixIcon('phosphor-globe-fill')
|
||||
->hiddenLabel()
|
||||
->options(fn () => LoadSofaScoreCategory::load())
|
||||
->placeholder('Country')
|
||||
->placeholder('Select Country')
|
||||
->afterStateUpdated(function (callable $set, $state) {
|
||||
$set('seasonmode', SofaScoreCategory::where('id', $state)->value('season_mode'));
|
||||
$set('league_id', null);
|
||||
@@ -159,7 +159,7 @@ class Statistic extends BaseDashboard
|
||||
->prefixIcon('phosphor-trophy-fill')
|
||||
->hiddenLabel()
|
||||
->options(fn (Get $get) => LoadStatisticFixturesLeaguesOptions::load($get('sofascore_category_id')))
|
||||
->placeholder('League')
|
||||
->placeholder('Select League')
|
||||
->afterStateUpdated(function (callable $set) {
|
||||
$set('match_id', null);
|
||||
$set('team_id', null);
|
||||
@@ -180,7 +180,7 @@ class Statistic extends BaseDashboard
|
||||
$set('ss_player_id', null);
|
||||
$this->dispatch('reset-tab');
|
||||
})
|
||||
->placeholder('Events'),
|
||||
->placeholder('Select Event'),
|
||||
|
||||
Select::make('team_id')
|
||||
->live()
|
||||
@@ -213,12 +213,12 @@ class Statistic extends BaseDashboard
|
||||
$set('ss_player_id', null);
|
||||
$this->dispatch('reset-tab');
|
||||
})
|
||||
->placeholder('Team'),
|
||||
->placeholder('Select Team'),
|
||||
|
||||
Select::make('team_position')
|
||||
->live()
|
||||
->hiddenLabel()
|
||||
->placeholder('Team Position')
|
||||
->placeholder('Select Team Position')
|
||||
->prefix('TP')
|
||||
->prefixAction(
|
||||
Action::make('iconInfo')
|
||||
|
||||
Reference in new issue
Block a user