Support form-floating from Bootstrap 5
Closes #579
Nice, thanks! Might want to specify in the docs how to use it, e.g.
- wrap select element in
divwith classform-floating - add class
form-controlto the select element. - Then, after the select element, add a label.
- Also link to Bootstrap examples.
Furthermore, with your CSS, I get this behavior, i.e. there is not enough vertical space for the label.
This is because your padding-top in padding-bottom is overwritten by the TomSelect Bootstrap style .ts-wrapper.multi.has-items .ts-control.
However, adding form-select instead of form-control to the select element works like a charm and looks so nice ✨
Any chance we could get this one merged? I'm happy to sign up as a maintainer to poke through the pull requests and merge if that helps.
Anyone?
@nwalters512 what's needed to get this one merged?
@nwalters512 - trying again
@ericscales at a minimum, this needs an example in the docs to illustrate how it looks/behaves.