Closed jayminesprit closed 6 years ago
Regarding Select2 compatibility, please see issue #15 for more information.
For Bootstrap input groups you will need to either exclude them from being transformed by float-labels, or add custom CSS to fix the layout.
Example:
var floatlabels = new FloatLabels( 'form', {
exclude: '.input-group input, select.select2',
});
Ok Thanks Pryley. I know we can exclude them but excluding them makes form odd-even in terms of design. However yes for now i am able to fix both things using additional javascript/CSS.
Thanks again.
It is messing layout when used with bootstrap input group. (I.e : color-pickers, date/time pickers etc) I have tried few hacks in code :
Above code did what i wanted but few things broken like when input is blank it does not removes fl-is-active also it is adding fl-wrap div multiple time.
Any quick fix for input-group ?
Also it does not work with select 2, In multiple option selection it is still adding label as a first option as a selected. Any way i can fix it ?