kartik-v / yii2-widgets

Collection of useful widgets for Yii Framework 2.0
http://demos.krajee.com/widgets
Other
558 stars 175 forks source link

ActiveForm - add edit forConfig functionality #309

Closed aadutskevich closed 8 years ago

aadutskevich commented 8 years ago

If you have a big form with many diffrent models you need to change form layout or lableSpan. But there is no functionality to set this values. It will be very helpfull if you add some kind of setters for formConfig fields or just common function to edit formConfig. E.g.:

/* * @param array $formConfig / public function editConfig($formConfig){ $this->formConfig = array_replace_recursive($this->formConfig, $formConfig); }

kartik-v commented 8 years ago

This will be more so addressed via kartik-v/yii2-widget-activeform#76.