Restrict null and empty value in sale_order and job_order column #1383
@@ -99,7 +99,8 @@ class TestingLineVisualizationResource extends Resource
|
|||||||
})
|
})
|
||||||
->afterStateUpdated(function ($state, callable $set, callable $get) {
|
->afterStateUpdated(function ($state, callable $set, callable $get) {
|
||||||
$set('updated_by', Filament::auth()->user()?->name);
|
$set('updated_by', Filament::auth()->user()?->name);
|
||||||
}), // ->required(),
|
})
|
||||||
|
->required(),
|
||||||
Forms\Components\TextInput::make('job_order')
|
Forms\Components\TextInput::make('job_order')
|
||||||
->label('Job Order')
|
->label('Job Order')
|
||||||
->placeholder('Enter Job Order')
|
->placeholder('Enter Job Order')
|
||||||
@@ -111,7 +112,8 @@ class TestingLineVisualizationResource extends Resource
|
|||||||
})
|
})
|
||||||
->afterStateUpdated(function ($state, callable $set, callable $get) {
|
->afterStateUpdated(function ($state, callable $set, callable $get) {
|
||||||
$set('updated_by', Filament::auth()->user()?->name);
|
$set('updated_by', Filament::auth()->user()?->name);
|
||||||
}), // ->required(),
|
})
|
||||||
|
->required(),
|
||||||
Forms\Components\TextInput::make('pump_model')
|
Forms\Components\TextInput::make('pump_model')
|
||||||
->label('Pump Model')
|
->label('Pump Model')
|
||||||
->placeholder('Enter Pump Model')
|
->placeholder('Enter Pump Model')
|
||||||
|
|||||||
Reference in New Issue
Block a user