Added logic for not ok slectremark text box gets visble in production characteristic page
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 30s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 19s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 27s
Laravel Pint / pint (pull_request) Successful in 1m51s
Laravel Larastan / larastan (pull_request) Failing after 3m22s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 30s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 19s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 27s
Laravel Pint / pint (pull_request) Successful in 1m51s
Laravel Larastan / larastan (pull_request) Failing after 3m22s
This commit is contained in:
@@ -190,7 +190,11 @@ class ProductionCharacteristicResource extends Resource
|
||||
->label('Remark')
|
||||
->reactive()
|
||||
->required(fn ($get) => $get('status') == 'ConditionallyAccepted')
|
||||
->visible(fn ($get) => $get('status') == 'ConditionallyAccepted'),
|
||||
// ->visible(fn ($get) => $get('status') == 'ConditionallyAccepted'),
|
||||
->visible(fn ($get) => in_array($get('status'), [
|
||||
'NotOk',
|
||||
'ConditionallyAccepted',
|
||||
])),
|
||||
Forms\Components\Hidden::make('created_by')
|
||||
->label('Created By'),
|
||||
Forms\Components\Hidden::make('updated_by')
|
||||
|
||||
Reference in New Issue
Block a user