reset from select button

This commit is contained in:
salam committed 2026-05-22 17:01:53 +02:00
1 parent a48c614907
commit 2734b06350
1 file changed
+7
+7
View File
@@ -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) {