Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Select2 box Dropdown Down Arrow UI issue

I am using select2 box library for dropdown.

issue:

enter image description here

I have set multiple property in select Tag and I want set chevron-up and chevron-down arrow in dropdown like this.

enter image description here

like image 490
Dharmesh Rakholia Avatar asked Nov 19 '25 01:11

Dharmesh Rakholia


1 Answers

i know its long time after post but maybe someone will look for it in future

i just added a rule for multiple select2 element :

.select2-selection--multiple:after{
 content:"";
 position:absolute;
 right:10px;
 top:15px;
 width:0;
 height:0;
 border-left: 5px solid transparent;
 border-right: 5px solid transparent;
 border-top: 5px solid #888;
}
like image 191
binar Avatar answered Nov 20 '25 16:11

binar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!