TextInputColumn::make('sale_price')
->rules(['min:0', 'numeric'])
->type('number')
->beforeStateUpdated(function ($action, $record, $state) {
if ($state >= $record->price) {
$action->halt();
}
}),
TextInputColumn::make('sale_price')
->rules(['min:0', 'numeric'])
->type('number')
->beforeStateUpdated(function ($action, $record, $state) {
if ($state >= $record->price) {
$action->halt();
}
}),