争取早日造轮子。
我也在找这个问题的解决方法,楼主现在有方法吗,更新一下额
<?= Html::textInput('attribute_errors', current(json_decode($model->attribute_errors)), ['class' => 'form-control']) ?> 这算是能达到效果了
嗯,后来还是码html了