Dropdown value falling outside the box
I have a problem with displaying the chosen dropdown value. Please screenshot below:

As you see, the value is longer than the box itself and it is falling outside. However, when I open the dropdown, value is displayed properly:

I did my best to find related issues, but I couldn't find any. Please advise if it is a problem with ui select or bootstrap css theme. My code is below.
<ui-select ng-model="item.id" theme="bootstrap">
<ui-select-match allow-clear="true" placeholder="Select or type in">{{$select.selected}}</ui-select-match>
<ui-select-choices repeat="item in itemList | filter: $select.search">
<div ng-bind-html="item | highlight: $select.search"></div>
</ui-select-choices>
</ui-select>
Thanks
Duplicate of #689 and #933
Checkout any of those for solutions.
Got it work with
.ui-select-match-text{
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
padding-right: 40px;
}
.ui-select-toggle > .btn.btn-link {
margin-right: 10px;
top: 6px;
position: absolute;
right: 10px;
}
Thanks for help
Fix from APelekh works well! Tried this at first:
https://github.com/atavakoli/ui-select/commit/59209fd95becde1011c886989fd5cff9ba7bafd0 But that displaced the delete icon (was placed out of the box)