Vue radio button checked code example
Example 1: radio button vue
Picked: {{ picked }}
Example 2: vue radio button default checked
Apparently, Vue will check input if bound value is the same with input value:
Check out this fiddle: https://jsfiddle.net/v7zj4c13/188/
new Vue({
el: '#demo',
data: {
gender: "female"
}
})
Code above will checked the female input, not the male one