Closed wnunez09 closed 5 years ago
@wnunez09 sorry, what's select2-bootstrap4-prepend
?
I'm assuming this is referencing input groups.
It would be great
ok, I'll try 💪
I would also like to vote for this fix. As it stands I'll need to customize this.
The offending classes in bootstrap 4 are .input-group-prepend
and .input-group-append
The appended/prepended input group items are pushed off the same line by the select2 input. See: https://getbootstrap.com/docs/4.0/components/input-group/
UPDATE: The following code seems to fix the issue.
.input-group > .select2-container--bootstrap {
display: initial;
width: 1%;
flex: 1 1 auto;
}
@wnunez09 @808loud @miguelsmuller @TheLoneUs I fixed this via #14. Please check it out 😉
can add support for not support for prepend and Append:
select2-bootstrap4-prepend