Skip to content

Commit 88ae058

Browse files
committed
optional format
1 parent 543a8c8 commit 88ae058

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/date-input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ directive('dateInput', ['$document', function ($document) {
99
restrict: 'E',
1010
scope: {
1111
date: '=',
12-
format: '=',
12+
format: '=?',
1313
onChange: '&',
1414
placeholder: '@'
1515
},

src/datetime-input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ directive('datetimeInput', ['$document', function ($document) {
99
restrict: 'E',
1010
scope: {
1111
datetime: '=',
12-
format: '=',
12+
format: '=?',
1313
onChange: '&',
1414
placeholder: '@'
1515
},

src/time-input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ directive('timeInput', ['$document', function ($document) {
99
restrict: 'E',
1010
scope: {
1111
time: '=',
12-
format: '=',
12+
format: '=?',
1313
onChange: '&',
1414
placeholder: '@'
1515
},

0 commit comments

Comments
 (0)