I have a situation where the text to select is too long and doesn't fit in the list width or in the selected field. So at least I need to show on mouse hover the complete name using the title attribute in span.
I tried this:
<ui-select ng-model="f.fieldb.value">
<ui-select-match>
<span ng-bind="$select.selected.nm" title="$select.selected.nm"></span>
</ui-select-match>
<ui-select-choices repeat="item in (fieldsList | filter: $select.search)">
<span ng-bind="item.nm" title="f.item.nm"></span>
</ui-select-choices>
</ui-select>
but I get this (note that the text shown next to the mouse pointer is incorrect):
Is it possible to get the correct names?