Missing form-control class for dropDownList

Issue #20 invalid
ekerazha created an issue

dropDownList controls lack the form-control class so they show unstyled.

Workaround: add 'class' => 'form-control' as option

Comments (3)

  1. ekerazha 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).

  2. Log in to comment