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
{{ message }}
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.
The current implementation does not allow for this
What is actually happening?
The resulting behavior is that any component which implements the above pattern results in an error which cannot be built
I believe there should not be a check on v-model on components. Any element can support v-model provided it accepts a value and emits an event, per the Vue2 documentation. It is possible there is something I am missing here, if so, any advice would be appreciated.
Thank you
The text was updated successfully, but these errors were encountered:
[!] (plugin vue) Error: Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.
src\components\form\types\dynamic-form.vue (11:25)
:value="getFieldValue(field)"
Error: Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.
Which I do not believe to be correct, either. The code itself here works OK.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
5.0.0
Reproduction link
sfc.vuejs.org/
Steps to reproduce
Use v-model on any component-based field
What is expected?
VueJS allows you to use v-model on any element which implements the :value data binding and emits the @input event.
You can find this in the official documentation for custom components here:
https://vuejs.org/v2/guide/forms.html
And here:
https://vuejs.org/v2/guide/components.html#Using-v-model-on-Components
The current implementation does not allow for this
What is actually happening?
The resulting behavior is that any component which implements the above pattern results in an error which cannot be built
I believe there should not be a check on v-model on components. Any element can support v-model provided it accepts a value and emits an event, per the Vue2 documentation. It is possible there is something I am missing here, if so, any advice would be appreciated.
Thank you
The text was updated successfully, but these errors were encountered: