You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 9, 2022. It is now read-only.
<p>Choose a date: <ng-combo-date-pickerng-model="dynamic" ng-date="{{ init.toString() }}"></ng-combo-date-picker></p>
71
-
<p>Current selection is: <strong>{{ dynamic }}</strong>
71
+
<p>Current selection is: <strong>{{ dynamic }}</strong><p/>
72
72
</div>
73
73
74
74
75
75
<h3>To empty value</h3>
76
76
<div>
77
77
<p>Choose a date: <ng-combo-date-pickerng-model="emptyDate"></ng-combo-date-picker></p>
78
-
<p>Current selection is: <strong>{{ emptyDate }}</strong>
78
+
<p>Current selection is: <strong>{{ emptyDate }}</strong><p/>
79
79
</div>
80
80
81
81
@@ -87,7 +87,7 @@ <h2>Define minimum and maximum dates</h2>
87
87
</script>
88
88
<divng-controller="minAndMaxCtrl">
89
89
<p>Choose a date: <ng-combo-date-pickerng-model="range" ng-min-date="1800-01-01" ng-max-date="1900-12-31"></ng-combo-date-picker></p>
90
-
<p>Current selection is: <strong>{{ range }}</strong>
90
+
<p>Current selection is: <strong>{{ range }}</strong><p/>
91
91
</div>
92
92
93
93
@@ -99,7 +99,7 @@ <h2>Change strings for months</h2>
99
99
</script>
100
100
<divng-controller="monthStringsCtrl">
101
101
<p>Choose a date: <ng-combo-date-pickerng-model="names" ng-months="Enero,Febrero,Marzo,Abril,Mayo,Junio,Julio,Agosto,Septiembre,Octubre,Noviembre,Diciembre"></ng-combo-date-picker></p>
102
-
<p>Current selection is: <strong>{{ names }}</strong>
102
+
<p>Current selection is: <strong>{{ names }}</strong><p/>
103
103
</div>
104
104
105
105
@@ -111,7 +111,7 @@ <h2>Define attributtes</h2>
111
111
</script>
112
112
<divng-controller="attributesCtrl">
113
113
<p>Choose a date: <ng-combo-date-pickerng-model="attrs" ng-attrs-date='{"style": "color:red"}' ng-attrs-month='{"style": "color:green"}' ng-attrs-year='{"style": "color:blue"}'></ng-combo-date-picker></p>
114
-
<p>Current selection is: <strong>{{ attrs }}</strong>
114
+
<p>Current selection is: <strong>{{ attrs }}</strong><p/>
115
115
</div>
116
116
117
117
@@ -123,26 +123,63 @@ <h2>Change years order</h2>
123
123
</script>
124
124
<divng-controller="yearsOrderCtrl">
125
125
<p>Choose a date: <ng-combo-date-pickerng-model="yearsOrder" ng-year-order="desc"></ng-combo-date-picker></p>
126
-
<p>Current selection is: <strong>{{ yearsOrder }}</strong>
126
+
<p>Current selection is: <strong>{{ yearsOrder }}</strong><p/>
127
127
</div>
128
128
129
129
130
130
<h2>Timezones</h2>
131
131
<div>
132
132
<p>Choose a date: <ng-combo-date-pickerng-model="timezone1" ng-date="2000-01-01" ng-timezone="-20"></ng-combo-date-picker></p>
133
-
<p>Current selection is: <strong>{{ timezone1 }}</strong>
133
+
<p>Current selection is: <strong>{{ timezone1 }}</strong><p/>
134
134
<p>Choose a date: <ng-combo-date-pickerng-model="timezone2" ng-date="2000-01-01" ng-timezone="20"></ng-combo-date-picker></p>
135
-
<p>Current selection is: <strong>{{ timezone2 }}</strong>
135
+
<p>Current selection is: <strong>{{ timezone2 }}</strong><p/>
136
136
<p>Choose a date: <ng-combo-date-pickerng-model="timezone3" ng-date="2000-01-01" ng-timezone="10.5"></ng-combo-date-picker></p>
137
-
<p>Current selection is: <strong>{{ timezone3 }}</strong>
137
+
<p>Current selection is: <strong>{{ timezone3 }}</strong><p/>
138
138
</div>
139
139
140
140
141
141
<h2>Place holders</h2>
142
142
<div>
143
143
<p>Choose a date: <ng-combo-date-pickerng-model="placeholder" ng-placeholder="Select year,Select month,Select date"></ng-combo-date-picker></p>
144
-
<p>Current selection is: <strong>{{ placeholder }}</strong>
145
-
</div>
146
-
</div>
144
+
<p>Current selection is: <strong>{{ placeholder }}</strong><p/>
'<select ng-model="date" ng-change="onChange(\'date\')" ng-options="date.value as date.name disable when date.disabled for date in dates"></select>'+
268
-
'<select ng-model="month" ng-change="onChange(\'month\')" ng-options="month.value as month.name disable when month.disabled for month in months"></select>'+
269
-
'<select ng-model="year" ng-change="onChange(\'year\')" ng-options="year.value as year.name disable when year.disabled for year in years"></select>'
285
+
'<select ng-model="date" '+strAttrs[0]+' ng-change="onChange(\'date\')" ng-options="date.value as date.name disable when date.disabled for date in dates"></select>'+
286
+
'<select ng-model="month" '+strAttrs[1]+' ng-change="onChange(\'month\')" ng-options="month.value as month.name disable when month.disabled for month in months"></select>'+
287
+
'<select ng-model="year" '+strAttrs[2]+' ng-change="onChange(\'year\')" ng-options="year.value as year.name disable when year.disabled for year in years"></select>'
0 commit comments