SelectAction::make('versions')
->options(function (Offer $record) {
return $record->previousVersions();
})
->afterStateUpdated(function ($state) {
// Tried this method, but it doesn't exist.
}),
SelectAction::make('versions')
->options(function (Offer $record) {
return $record->previousVersions();
})
->afterStateUpdated(function ($state) {
// Tried this method, but it doesn't exist.
}),