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

alenyu picture alenyu  ·  43Comments

ferry77 picture ferry77  ·  67Comments

asiFarran picture asiFarran  ·  34Comments

RashadSaleh picture RashadSaleh  ·  51Comments

yyx990803 picture yyx990803  ·  210Comments