Missing form-control class for dropDownList
Issue #20
invalid
dropDownList controls lack the form-control class so they show unstyled.
Workaround: add 'class' => 'form-control' as option
Comments (3)
-
repo owner -
reporter Probably, the solution is to add
self::addCssClass('form-control', $htmlOptions);
to BsHtml::activeDropDownList()
but I didn't try to fix the library, I'm currently using the workaround I've said before (I specify 'class' => 'form-control' when using the control).
-
repo owner - changed status to invalid
public static function dropDownList($name, $select, $data, $htmlOptions = array())
- Log in to comment
plz open a pull request got no time at the moment thx