Open Alarees opened 4 years ago
i have error in equality attribute my code :
const constraints = { trader_password: { presence: { allowEmpty: false, message: "empty message" }, length: { maximum: 128, }, passwordConfirm: { presence: { allowEmpty: false, message: empty }, equality: { attribute:"trader_password", message : "my message" }, } }; validate({trader_password:"1234",passwordConfirm:"1234"}, constraints); // => {passwordConfirm: ["my message"]}
PS : i already read this issues #222
i have error in equality attribute my code :
PS : i already read this issues #222