laravel rules validate multiple row for other column
Multiple parts (id, name, finish, finish_noe)
finish = 2 is Job OK
protected $rules = [
'parts.*.finish_note' => ['required_if:parts.*.finish,2'],
]
Multiple parts (id, name, finish, finish_noe)
finish = 2 is Job OK
protected $rules = [
'parts.*.finish_note' => ['required_if:parts.*.finish,2'],
]