select2 / select2-bootstrap-theme

A Select2 v4 Theme for Bootstrap 3
https://select2.github.io/select2-bootstrap-theme/
MIT License
871 stars 498 forks source link

select2 input-group border radius #62

Closed drvid closed 7 years ago

drvid commented 7 years ago

select2-input-group

As seen in the screenshot, border radius on the select2 element is not adjusted when situated inside an input group.

Reference: http://getbootstrap.com/components/#input-groups

fk commented 7 years ago

Hi @drvid!

For now you need to add .select2-bootstrap-prepend or .select2-bootstrap-append to the .input-group wrapper element to address Select2's corresponding border-radii. Also see the documentation or this CodePen.

This will be obsolete once https://github.com/select2/select2-bootstrap-theme/pull/54 gets merged.

fk commented 7 years ago

54 is included in the new release 0.1.0-beta.10 and the helper classes mentioned above are not necessary anymore. Just upgrading to the new version should resolve your problem.