I have an issue with Unclead's yii2-multiple-input widget i'm using the multi column to add an input field with a radio button when i add a row then it create a input field with a radio button and due to different name they all radios behave like checkbox.
Please give me solution so that radio button has same name for all rows.
Here is my source code:
<?= $form->field($model, 'schedule')->widget(MultipleInput::className(), [
'max' => 10,
'columns' => [
[
'name' => 'answer_choice',
'enableError' => true,
'title' => 'Answer Choice'
],
[
'name' => 'Correct_ans',
'type' => 'radio',
'title' => 'Correct Answer'
]
]
]); ?>