blob: 8da05fc55ddd4ab17f8137eb20b19f6e331098a4 (
plain)
1
2
3
4
5
6
7
8
9
10
|
<label ng-if="ctrl.availableOptions.length === 0" for="details-{{ctrl.name}}-{{ctrl.index}}">{{ctrl.meta.readableName}}</label>
<ui-select id="details-{{ctrl.name}}-{{ctrl.index}}" multiple tagging tagging-label="{{ctrl.t.newGroup}}" ng-model="ctrl.data.value"
on-remove="ctrl.updateContact()" on-select="ctrl.updateContact()"
theme="select2" focus-expression="$parent.$parent.ctrl.focus === ctrl.name"
ng-disabled="ctrl.contact.readOnly">
<ui-select-match placeholder="{{ctrl.meta.readableName}}">{{$item}}</ui-select-match>
<ui-select-choices repeat="group in ctrl.availableGroups | filter:$select.search">
{{group}}
</ui-select-choices>
</ui-select>
|