I am trying to validate a password field only if it is present. I want to allow someone to edit a user and they may or may not want to change the users password. So I thought I
Docs don't make it clear, But removing required makes it work.
$this->validate($request, [ 'password' => 'sometimes|min:8', ]);