removed required forinspection lot number in panel box validation
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 13s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 16s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 14s
Laravel Pint / pint (pull_request) Successful in 2m55s
Laravel Larastan / larastan (pull_request) Failing after 4m8s

This commit is contained in:
dhanabalan
2026-10-23 12:03:30 +05:30
parent 700c01eebc
commit 77456a5d8a

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) {