Merge pull request 'removed required forinspection lot number in panel box validation' (#1294) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 20s

Reviewed-on: #1294
This commit was merged in pull request #1294.
This commit is contained in:
2026-10-23 06:33:52 +00:00

View File

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