wip
This commit is contained in:
1 parent
4cdec4be8e
commit
b74c374586
3 files changed
+13
-13
No files matched your search
@@ -169,6 +169,7 @@ class Statistic extends BaseDashboard
|
||||
Select::make('match_id')
|
||||
->live()
|
||||
->hiddenLabel()
|
||||
->columnSpan(fn (Get $get) => $get('similar_past_matches') != 'none' ? 2 : 1)
|
||||
->prefixIconColor(fn (Get $get): string => $get('match_id') ? 'success' : 'danger')
|
||||
->prefixIcon('phosphor-calendar-check-fill')
|
||||
->options(function (Get $get) {
|
||||
@@ -278,7 +279,9 @@ class Statistic extends BaseDashboard
|
||||
************************/
|
||||
Select::make('similar_past_matches')
|
||||
->live()
|
||||
// ->columnSpan(2)
|
||||
->hiddenLabel()
|
||||
->columnSpan(fn (Get $get) => $get('similar_past_matches') != 'none' ? 2 : 1)
|
||||
->suffixAction(Action::make('reset')
|
||||
->icon('phosphor-x-circle')
|
||||
->action(fn (callable $set) => $set('similar_past_matches', 'none'))
|
||||
|
||||
Reference in new issue
Block a user