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
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:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user