TanStackT
TanStack12mo ago
6 replies
colossal-harlequin

valibotValidator deprecated

'valibotValidator' is deprecated.ts(6385)
validator.d.ts(11, 4): The declaration was marked as deprecated here.


const form = useForm({
    defaultValues: {
      emailAddress: '',
      password: '',
    },
    validators: {
      onSubmitAsync: async ({ value }) => {
        ...
      },
    },
    validatorAdapter: valibotValidator(),
  });


What's the resolution here? Thanks!
Was this page helpful?