From c4a38d63fb6f0d3e9f04fc57d11bcd5bd063b6bc Mon Sep 17 00:00:00 2001 From: Amin Ajao Date: Tue, 6 Apr 2021 10:40:36 +0100 Subject: [PATCH] changed the Access other fields check from confirmPassword to password --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cc60aa8..beaa7e4 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ You can now access other fields values in the custom validator. This is useful i checks: 'required|min:8', // checks to run on the field on change // Custom validator validate: (value, values) => { - if(value !== values.comfirmPassword){ + if(value !== values.password){ return "Confirm Password doesn't match passward" } }