-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Checkbox does not allow dynamic values #1277
Comments
Ah, after looking through the source code, I see I can use Might be good to add that to the documentation :) |
This is weird because i tested it and i doesnt get any error. |
I'm using Vue 2.5.5 if that helps. The error was reported by vue-template-compiler |
@philBrown update vue and vue-template-compiler to 2.5.9 and should work |
Yep, that sorted it :) |
For reference ~ vuejs/vue#7084 |
Yeah we had this issue few weeks ago #1167 |
Say I have an array of objects and want to use checkboxes to create a filtered set of attributes, for example
Because you've used
v-model
in the checkbox component, we cannot bind thevalue
attribute like this.Vue triggers the error...
All you would have to do is use a different prop name than
value
.The text was updated successfully, but these errors were encountered: