required_unless laravel not working code example
Example: required_unless laravel
required_unless:anotherfield,value,...
The field under validation must be present and not empty unless the
anotherfield field is equal to any value.
required_unless:anotherfield,value,...
The field under validation must be present and not empty unless the
anotherfield field is equal to any value.