blob: a0f7f1808ab61796bfd32b1d4257e775fa0a8f29 (
plain)
1
2
3
4
5
6
7
8
9
10
|
<input type="file" id="contact-import" class="hidden-visually" multiple/>
<label for="contact-import" class="icon-upload button" id="upload">{{ctrl.importText}}</label>
<ui-select ng-model="ctrl.selectedAddressBook" ng-disabled="ctrl.addressBooks.length < 2"
theme="select2" class="form-control" title="{{ctrl.t.selectAddressbook}}"
uis-open-close="ctrl.stopHideMenu(isOpen)" ng-class="{'icon-loading-small': ctrl.loading}">
<ui-select-match placeholder="{{ctrl.t.selectAddressbook}}">{{$select.selected.displayName}}</ui-select-match>
<ui-select-choices repeat="addressBook in ctrl.addressBooks | filter: $select.search">
{{addressBook.displayName}}
</ui-select-choices>
</ui-select>
|