Answer the question
In order to leave comments, you need to log in
How to set text for textarea in yii2 using activeForm widget?
echo $form10->field($model10, 'overview')->textarea(['value' => '123'])->label('overview:');
Answer the question
In order to leave comments, you need to log in
$model10->overview = '123';
echo $form10->field($model10, 'overview')->textarea();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question