removed required forinspection lot number in panel box validation #1294

Merged
jothi merged 1 commits from ranjith-dev into master 2026-10-23 06:33:53 +00:00
Showing only changes of commit 77456a5d8a - Show all commits

View File

@@ -210,8 +210,7 @@ class PanelBoxValidationResource extends Resource
'class' => $get('inspecOrdError') ? 'border-red-500' : '',
])
->hint(fn ($get) => $get('inspecOrdError') ? $get('inspecOrdError') : null)
->hintColor('danger')
->required(),
->hintColor('danger'),
Forms\Components\Hidden::make('inspection')
->default(fn () => session('last_selected_inspection'))
->afterStateHydrated(function ($state, $set) {