Children フィールドは mongoDB の配列です。
<?= $form->field($model, 'children') ?>
私が得るエラーは次のとおりです。
Array to string conversion
implode(',', $model->children)
どうにかして使用する必要がありActiveForm
ます。今何をする?
解決策は何ですか?その配列を文字列に変換する方法は?
Children フィールドは mongoDB の配列です。
<?= $form->field($model, 'children') ?>
私が得るエラーは次のとおりです。
Array to string conversion
implode(',', $model->children)
どうにかして使用する必要がありActiveForm
ます。今何をする?
解決策は何ですか?その配列を文字列に変換する方法は?