vue radio button component

Again, huge thanks to my coworkers; many of these insights and ideas were theirs and the collaboration that went into this was incredibly helpful. For radio buttons and checkboxes, Vue uses their checked prop and listens for their change event. This custom radio group component can be used at a variety of complexities. with an … I think a good way to understand it is to look at how the component renders without the v-if attribute: And without the :name the slots can’t be matched up with the options properly (this is also what would happen if the