asofter / yii2-imperavi-redactor

Imperavi Redactor WYSIWYG widget (OEM-licensed for Yii 2)
Other
86 stars 53 forks source link

Validation input not work #9

Closed marciocamello closed 10 years ago

marciocamello commented 10 years ago

Solution?

lunzai commented 10 years ago

any guide for validation error?

cyhalothrin commented 10 years ago
$form->field($model, 'model_attribute')->widget(yii\imperavi\Widget::className(), [
    'id' => Html::getInputId($model, 'model_attribute'), // !!!
    'model' => $model,
    'attribute' => 'model_attribute',
]);
lunzai commented 10 years ago

Will try it later, thanks a lot