Removed block disabled option on edit

This commit is contained in:
dhanabalan
2025-05-08 10:18:49 +05:30
parent 5609d6e381
commit e6cc03aeef

View File

@@ -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')