From 2734b0635049ee0167aef5d6d40c577cbeaadfb5 Mon Sep 17 00:00:00 2001 From: salam Date: Fri, 22 May 2026 17:01:53 +0200 Subject: [PATCH] reset from select button --- app/Filament/Pages/Statistic.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/Filament/Pages/Statistic.php b/app/Filament/Pages/Statistic.php index 33d3ad7e..dbf80979 100644 --- a/app/Filament/Pages/Statistic.php +++ b/app/Filament/Pages/Statistic.php @@ -126,6 +126,13 @@ class Statistic extends BaseDashboard Select::make('tm_player_id') ->label('Player') ->prefixIcon('icon-player') + ->suffixAction( + Action::make('copyCostToPrice') + ->action(function (callable $set) { + $set('tm_player_id', null); + }) + ->icon('phosphor-x'), + ) ->preload() // ->searchable() ->options(function (Get $get) {