Update ActiveField.php

This commit is contained in:
Anton 2021-11-30 22:06:37 +03:00 committed by GitHub
parent 9be83b526a
commit 2a36723f25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -438,7 +438,7 @@ 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');