summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-03-11 23:35:58 +0100
committerirgendwie <alexwegoo@gmail.com>2016-03-20 00:29:48 +0100
commite6325484fcbde0cd1ca40cb4bd3992717cfff9c6 (patch)
treeae13f4c36ff362568b08a0888a09328d4765f512 /templates
parent46c397e07a2673fb6a4322c56836648f7775eec0 (diff)
Parse pref from type
Diffstat (limited to 'templates')
-rw-r--r--templates/detailItems/tel.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/detailItems/tel.html b/templates/detailItems/tel.html
index e3f81849..39e88530 100644
--- a/templates/detailItems/tel.html
+++ b/templates/detailItems/tel.html
@@ -1,5 +1,5 @@
<label for="details-{{ctrl.name}}">
- <select ng-model="ctrl.data.meta.type[0]">
+ <select ng-model="ctrl.type" ng-model-options="{ debounce: 500 }" ng-change="ctrl.changeType(ctrl.type)">
<option ng-repeat="option in ctrl.availableOptions" value="{{option.id}}">{{option.name}}</option>
</select>
</label>