-
-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Iwrtie this codes in a action class
public function fields(NovaRequest $request)
{
return [
Select::make(__('Status'), 'insurance_policy_status')
->options([
'no_insurance' => __('No Request Insurance'),
'in_progress' => __('In Progress Insurance'),
'rejected' => __('Rejected Insurance'),
'done' => ('Done Insurance'),
]),
DependencyContainer::make([
Image::make(('Insurance Image'), 'image')
->path('images/loads-insurance'),
])->nullable()->dependsOnNotIn('insurance_policy_status', ['no_insurance','in_progress','rejected']),
];
}
But when It shows modal, the image field is shown. It must doesnot show on modal opening
The ''تصویر بیمه نامه" field is the image that must appearing on selecting the last option in the select box.
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed