yuche / vue-strap

Bootstrap components built with Vue.js
http://yuche.github.io/vue-strap/
MIT License
4.71k stars 935 forks source link

Div root element breaks form styling #521

Open filipkowal opened 6 years ago

filipkowal commented 6 years ago

In the date input there is such structure: div > input.form-control It breaks bootstrap form's styling, because .form-control should be a direct child of form-group.

The correct structure would then be .form-group > input.form-control, so input.form-control should be component's root element.

Could you fix this, please?