SelectColumn::make('account_ref_id')->label('Quick Edit')
->searchable()
->options($this->accounts)
->beforeStateUpdated(function ($record, $state) {
$record->is_complete = 1;
})
->afterStateUpdated(function () {
$this->resetTable();
})
->disabled(fn ($record) => $record->is_complete)
SelectColumn::make('account_ref_id')->label('Quick Edit')
->searchable()
->options($this->accounts)
->beforeStateUpdated(function ($record, $state) {
$record->is_complete = 1;
})
->afterStateUpdated(function () {
$this->resetTable();
})
->disabled(fn ($record) => $record->is_complete)