Merge pull request 'Added logic for not ok slectremark text box gets visble in production characteristic page' (#922) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 45s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 45s
Reviewed-on: #922
This commit was merged in pull request #922.
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