Describe the bug
Not recognize error when i use getPipeIssues
export const authRegisterDto = merge(
[
pick(usersSchema, ["username", "name", "email", "password"]),
object({
repeat_password: string([minLength(1, "this field is required")]),
}),
],
[
(input) => {
console.log(input) // if recognize input name.email,etc values when i type input in form
// Not found this validation: https://valibot.dev/guides/pipelines/
if (input.repeat_password !== input.password) {
return getPipeIssues("repeat_password", "not matches", input);
}
return getOutput(input);
},
]
);
Describe the bug Not recognize error when i use getPipeIssues
Dependencies "@hookform/resolvers": "^3.3.2", "react-hook-form": "^7.48.2", "valibot": "^0.20.1",
if any found the solution. i would like know it. thanks