Closed ghost closed 4 years ago
Hey,
It should be changed in the file FvlForm.vue :
// from $this.$emit('error', error) // to $this.$emit('error', error.response)
Otherwise we can not use the returned object on the component
<FvlForm @error="onError">
onError(error) { console.log(error.data) // from: undefined // to: Error Object }
Look for the explanation https://github.com/axios/axios/issues/960#issuecomment-309287911
Having forked your code and modified it a bit I do not know if it's the same with formvuelar. Seem yes.
Thank's I'll fix this.
Hey,
It should be changed in the file FvlForm.vue :
Otherwise we can not use the returned object on the component
Look for the explanation https://github.com/axios/axios/issues/960#issuecomment-309287911
Having forked your code and modified it a bit I do not know if it's the same with formvuelar. Seem yes.