Removed block disabled option on edit
This commit is contained in:
@@ -70,7 +70,7 @@ class ShiftResource extends Resource
|
||||
->default(function () {
|
||||
return optional(Shift::latest()->first())->block_id;
|
||||
})
|
||||
->disabled(fn (Get $get) => !empty($get('id')))
|
||||
// ->disabled(fn (Get $get) => !empty($get('id')))
|
||||
// ->options(fn (callable $get) =>
|
||||
// \App\Models\Block::where('plant_id', $get('plant_id'))
|
||||
// ->pluck('name', 'id')
|
||||
|
||||
Reference in New Issue
Block a user