Skip to content

Commit

Permalink
Fix name of method ActiveField::dropDownList() (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcovtwout authored Feb 15, 2024
1 parent 77cb6b0 commit f9a55eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ActiveField.php
Original file line number Diff line number Diff line change
Expand Up @@ -415,13 +415,13 @@ public function listBox($items, $options = [])
/**
* {@inheritdoc}
*/
public function dropdownList($items, $options = [])
public function dropDownList($items, $options = [])
{
if ($this->form->layout === ActiveForm::LAYOUT_INLINE) {
Html::removeCssClass($this->labelOptions, 'sr-only');
}

return parent::dropdownList($items, $options);
return parent::dropDownList($items, $options);
}

/**
Expand Down

0 comments on commit f9a55eb

Please sign in to comment.