You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not a bug. The validation library is designed to validate the keys' values against the rules. It is the developer's job to ensure they pass they proper keys in. This allows validation rules to be used for both inserts and updates.
Validation is not working if the key is not present in array.
$data = [ 'name' => $name, 'email' => $email, 'password' => $password ];
if i remove any key from the array, then model will never validate that key
See the above image i remove password from the array and model doesn't validate that field
The text was updated successfully, but these errors were encountered: