with vuejs2.1.5 validity component render undefined
atomicmm opened this issue · comments
vue & vue-validator version
2.1.5, 3.0.0-alpha1
with the latest vuejs ,component validity will be render error content with undefined:
success
<validation name="va2">
<validity field="input2" :validators="{required:true,minlength:3}">
<input type="text" ref="input2" @input="handleValidate" @focusout="handleValidate">
</validity>
</validation>
error with extra div wrapper,got undefined
<validation name="va1">
<div>
<validity field="input1" :validators="{required:true,minlength:3}">
<input type="text" ref="input1" @input="handleValidate" @focusout="handleValidate">
</validity>
</div>
</validation>
I encountered same problem after @kazupon latest commits. How bad I already implemented it in our system which is running with Vue 2.0. I hope this will be fixed soon.
the same problem,vue 2.1.0
the same problem, vue 2.1.6