Children field is an array in mongoDB:
<?= $form->field($model, 'children') ?>
The error I get is:
Array to string conversion
I need to use implode(',', $model->children) somehow, how to use it in an ActiveForm? What to do now?
What is the solution? How to turn that array into a string?