Commit 25a5dd18 authored by Shakarim Sapa's avatar Shakarim Sapa

- Добавлено переопределение свойства options в классе BaseForm

parent 40d10cda
......@@ -203,6 +203,11 @@ class BaseForm extends \yii\widgets\ActiveForm
$config['options'][] = ' ';
}
}
if (array_key_exists('activeForm', $config)) {
foreach($config['activeForm'] as $key=>$option) {
$this->options[$key] = $option;
}
}
unset($config['buttons']);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment