How can i create a Checkbox with same naming ? i've tried the following , but dons't work.
foreach( Team::find() as $team )
{
$form->add(new Check( "members[]" ,[
'value' => $team->id,
]));
}
How can i create a Checkbox with same naming ? i've tried the following , but dons't work.
foreach( Team::find() as $team )
{
$form->add(new Check( "members[]" ,[
'value' => $team->id,
]));
}