You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bind a component to in input field while using inline-template.
What is expected?
A proper error message that tells the developer that inline-template components must have exactly one child element.
What is actually happening?
Uncaught TypeError: Cannot read property 'type' of undefined
Hello! :)
There is already a proper error message for this situation. It's just that the check for the number of child elements is implemented as > 1, maybe it should be != 1?
The method "genInlineTemplate" which throws the exception can be found here:
Version
2.4.4
Reproduction link
https://jsfiddle.net/kybf1hg0/
Steps to reproduce
Bind a component to in input field while using inline-template.
What is expected?
A proper error message that tells the developer that inline-template components must have exactly one child element.
What is actually happening?
Uncaught TypeError: Cannot read property 'type' of undefined
Hello! :)
There is already a proper error message for this situation. It's just that the check for the number of child elements is implemented as > 1, maybe it should be != 1?
The method "genInlineTemplate" which throws the exception can be found here:
vue/packages/weex-template-compiler/build.js
Line 2994 in 94512f3
The text was updated successfully, but these errors were encountered: