Merge pull request #22 from WinterSilence/patch-2
Fix name of method ActiveField::dropDownList()
This commit is contained in:
commit
960529d8b4
@ -439,14 +439,14 @@ class ActiveField extends \yii\widgets\ActiveField
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function dropdownList($items, $options = [])
|
||||
public function dropDownList($items, $options = [])
|
||||
{
|
||||
if ($this->form->layout === ActiveForm::LAYOUT_INLINE) {
|
||||
Html::removeCssClass($this->labelOptions, 'visually-hidden');
|
||||
}
|
||||
Html::addCssClass($options, ['widget' => 'form-select']);
|
||||
|
||||
return parent::dropdownList($items, $options);
|
||||
return parent::dropDownList($items, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user