Felte Form server error handling
Hello. I'm having trouble displaying errors from the server with a Felte form. According to the docs "You can add an onError function to the createForm configuration that will be called if the onSubmit function throws an error." I've added the onError function but I'm not getting the errors from the onSubmit function.
My form looks like this:
And the error handling part of my server looks like this:
I get the 400 status code back (see screenshot). But no console.log from the onError function
My form looks like this:
And the error handling part of my server looks like this:
I get the 400 status code back (see screenshot). But no console.log from the onError function

