Skip to content
{redev}

Published 9/12/2020 ยท 1 min read

Tags: vue

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.

Related Articles