File tree 3 files changed +253
-299
lines changed
3 files changed +253
-299
lines changed Original file line number Diff line number Diff line change @@ -69,9 +69,27 @@ <h2>Date Picker</h2>
69
69
< div layout ="column " flex ="70 ">
70
70
< md-input-container >
71
71
< label > Date</ label >
72
- < input mdc-datetime-picker type ="text " id ="date " class ="form-control floating-label " placeholder ="Date "
73
- ng-model ="date ">
72
+ < input time ="false " date ="true " mdc-datetime-picker type ="text " id ="date " class ="form-control floating-label "
73
+ placeholder ="Date "
74
+ ng-model ="date " min-date ="minDate " max-date ="maxDate ">
74
75
</ md-input-container >
76
+
77
+ < md-input-container >
78
+ < label > Time</ label >
79
+ < input mdc-datetime-picker date ="false " time ="true " type ="text " id ="time " short-time ="true "
80
+ class ="form-control floating-label "
81
+ placeholder ="Date "
82
+ ng-model ="time ">
83
+ </ md-input-container >
84
+
85
+ < md-input-container >
86
+ < label > Date Time</ label >
87
+ < input mdc-datetime-picker date ="true " time ="true " type ="text " id ="datetime "
88
+ class ="form-control floating-label "
89
+ placeholder ="Date "
90
+ ng-model ="dateTime ">
91
+ </ md-input-container >
92
+
75
93
</ div >
76
94
</ div >
77
95
</ md-content >
You can’t perform that action at this time.
0 commit comments