blob: fc5e15c52edd96c6bff4b2d3a53ba33e3362f054 (
plain)
1
2
3
4
5
6
7
8
|
<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-if="ctrl.addressBooks.length > 1" theme="select2" class="form-control" title="{{ctrl.t.selectAddressbook}}">
<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>
|