Open carlosvaldesweb opened 8 months ago
Hello, if we want to access to validationErrors in onError function in usesubmit, we need to use NextTick, to fix it we need to swap this lines from:
options?.onError?.(e); validationErrors.value = e.data?.errors ?? {};
to:
validationErrors.value = e.data?.errors ?? {}; options?.onError?.(e);
Hello, if we want to access to validationErrors in onError function in usesubmit, we need to use NextTick, to fix it we need to swap this lines from:
to: