summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorThomas Müller <DeepDiver1975@users.noreply.github.com>2016-12-15 00:02:58 +0100
committerJoas Schilling <coding@schilljs.com>2017-06-30 12:40:38 +0200
commit8bd3a7aea2037197305daeb260f8e3298ba351c0 (patch)
tree294953764723e0fca8d8e9c65af923884d3f77dc /templates
parent06368d5f661009695e5683e349db505b7bc71617 (diff)
* Allow selected year to be smaller then 1000 (#553)
* Allow text only input for dates - e.g. ca 1802
Diffstat (limited to 'templates')
-rw-r--r--templates/detailItems/date.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/detailItems/date.html b/templates/detailItems/date.html
index 4f6b05e0..bc538d51 100644
--- a/templates/detailItems/date.html
+++ b/templates/detailItems/date.html
@@ -1,7 +1,7 @@
<label for="details-{{ctrl.name}}-{{ctrl.index}}">{{ctrl.meta.readableName}}</label>
<input type="text" id="details-{{ctrl.name}}-{{ctrl.index}}" name="{{ctrl.name}}"
ng-model="ctrl.data.value" datepicker ng-model-options="{ debounce: 500 }"
- ng-change="ctrl.model.updateContact()" value=""
+ ng-change="ctrl.dateInputChanged()" value=""
focus-expression="$parent.ctrl.focus === ctrl.name"
/>
<button ng-click="ctrl.deleteField()" class="icon-delete" title="{{ctrl.t.delete}}"></button>