I need expression passed in v-model
to detect property name.
Example:
<input-component v-model="attributes.name" />
Why do I need expression?
If the expression attributes.name
is available then input components can fetch relevant errors from injected error collection object.
Until v2.1, we could get expression using this.$vnode.data.directives.model
.