I have the following code which is almost a copy/paste from the website PLUNKER
<p>Selected: {{userCtrl.tech.selected}}</p>
<ui-select ng-model="userCtrl.tech.selected" theme="bootstrap" ng-disabled="disabled" style="width: 300px;">
<ui-select-match placeholder="Select or search a tech">{{$select.selected.name}}</ui-select-match>
<ui-select-choices repeat="tech in userCtrl.allAvailableTechs | filter: $select.search">
<span ng-bind-html="tech.tech.name | highlight: $select.search"></span>
</ui-select-choices>
</ui-select>
However, when I do this, and I select one item from my list, then suddenly the select box get shrinked.
How can I fix this so that it will correctly show my selected item on the select box, and not shrinked like that?