I have a 3 level deep component setup that looks like this.
- container
- section-1 // section1Ref
- form-1 // form1Ref
The container component will trigger the submit method in the section-1 via this.$refs.section1Ref.submit().
The submit method in the section component will then call the submit method in the form-1 component like this.$refs.form1Ref.submit()
I am getting this error in this.$refs.form1Ref.submit() invokation.
this.$refs.form1Ref.submit is not a function
Tho I am 100% sure that it's defined in the methods object of the form-1 component.
I noticed that this is happening when the ref is 3 levels deep.