Published:2020-09-12
Radio Buttons VueJS
Here is a quick example how to add radio buttons on a form managed by VueJS. The user clicks on a radio button and the result is bound to the data variable called isCorrect
.
data() {
return {
isCorrect: true
};
}
Review on CodePen
See the Pen Radio True/False VueJS by Gareth Redfern (@garethredfern) on CodePen.