Vee-validate: infinite update loop if using vuetify v-radio-group and v-model with value "undefined"

Created on 26 Sep 2019  路  3Comments  路  Source: logaretm/vee-validate

Versions

  • vee-validate: 3.0.7 (it's not in 3.0.6)
  • vue: 2.6.10
  • vuetify: 2.0.19

Describe the bug
You may have an infinite update loop in a component render function. if using vuetify v-radio-group in combination with ValidationProvider and v-model with value "undefined".

To reproduce
Steps to reproduce the behavior:

  1. Use a ValidationProvider with the rule "required" and add a v-radio-group with some v-radio inside.
  2. Set the v-model of v-radio-group to a value which is "undefined"

Expected behavior
Just an invalid validation of the ValidationProvider. Not an infinite loop.

Demo link
https://codesandbox.io/embed/vue-template-mptx0 (Open Developer-Console an click on "Toggle show")

Desktop:

  • OS: Windows 10
  • Browser: Chrome
  • Version: 76.0.3809.132

Additional context
Only in combination with vuetify, but not happening in Version 3.0.6 of vee-validate.

馃悰 bug

Most helpful comment

Okay, this is caused by #2355 I will see what I can do

All 3 comments

Okay, this is caused by #2355 I will see what I can do

@logaretm That was fast. Thank you! :smiley:

@nicoschreiner You are welcome, 3.0.8 is up with this fix.

Was this page helpful?
0 / 5 - 0 ratings