Vue: Vue component in v-for does not inject data properties to render method after array of v-for is updated

Created on 11 Jul 2018  Β·  2Comments  Β·  Source: vuejs/vue

Version

2.5.16

Reproduction link

https://jsfiddle.net/21am3tc7/34/

Steps to reproduce

Click on Add button

What is expected?

The first component should have checked first option label on value = 0

What is actually happening?

The first component has data.type = 0 but no option label is checked after Add button is clicked

Most helpful comment

Your problem comes from the radio buttons all having the same name. Try removing the attribute name πŸ˜‰

All 2 comments

Your problem comes from the radio buttons all having the same name. Try removing the attribute name πŸ˜‰

@posva thanks for fast response, you are absolutely right, I was blind. Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

seemsindie picture seemsindie  Β·  3Comments

julianxhokaxhiu picture julianxhokaxhiu  Β·  3Comments

lmnsg picture lmnsg  Β·  3Comments

hiendv picture hiendv  Β·  3Comments

wufeng87 picture wufeng87  Β·  3Comments