mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 14:26:54 +08:00
Revert "Fixes #17220: Fixed widgets with no options"
This reverts commit a7f98964151d5894d9862fb0a1bf80040de86b69.
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
Yii Framework 2 Change Log
|
||||
==========================
|
||||
|
||||
2.0.17.1 under development
|
||||
2.0.18 under development
|
||||
------------------------
|
||||
|
||||
- Bug #17220: Fixed widgets with no options (samdark)
|
||||
- no changes in this release.
|
||||
|
||||
|
||||
2.0.17 March 22, 2019
|
||||
|
@ -764,10 +764,6 @@ class ActiveField extends Component
|
||||
public function widget($class, $config = [])
|
||||
{
|
||||
foreach ($this->inputOptions as $key => $value) {
|
||||
if (!isset($config['options'])) {
|
||||
$config['options'] = [];
|
||||
}
|
||||
|
||||
if (!isset($config['options'][$key])) {
|
||||
$config['options'][$key] = $value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user