blob: 460eea7be9672d2fafed59222d9532bba9dc714f (
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}}"
on-select="console.log('test')">
<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>
|