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
As an option to the selected answer, you can use:
$this->validate($request, [ 'password' => 'nullable|min:8', ]);