Added allow numeric only on process_order input #313
@@ -179,6 +179,7 @@ class ProcessOrderResource extends Resource
|
|||||||
Forms\Components\TextInput::make('process_order')
|
Forms\Components\TextInput::make('process_order')
|
||||||
->label('Process Order')
|
->label('Process Order')
|
||||||
->reactive()
|
->reactive()
|
||||||
|
->numeric()
|
||||||
->length(12)
|
->length(12)
|
||||||
->afterStateUpdated(function ($state, $set, callable $get, $livewire) {
|
->afterStateUpdated(function ($state, $set, callable $get, $livewire) {
|
||||||
$plantId = $get('plant_id');
|
$plantId = $get('plant_id');
|
||||||
|
|||||||
Reference in New Issue
Block a user