Home > AI > Language > HTML >

only select one radio

gives them the same name, which is to decide what radios are in the same group. Only one radio can be selected in a group.

<input type="radio" id={"option-"+props.idx} name={props.title} value={props.name}/>

Leave a Reply