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
@@ -164,6 +167,16 @@ class InputfieldDatetime extends Inputfield {
164
167
$f->attr('value', (int) $this->datepicker);
165
168
$inputfields->append($f);
166
169
170
+
$f = $this->modules->get("InputfieldText");
171
+
$f->attr('name', 'yearRange');
172
+
$f->attr('value', $this->yearRange);
173
+
$f->attr('size', 10);
174
+
$f->label = "Date Picker Year Range";
175
+
$f->description = $this->_('When the date picker is used, it has a selectable year range minus and plus 10 years from the current year. To extend or reduce that, specify the quantity of years before and after [current year] in this format: "-30:+20", which would show 30 years before now and 20 years after now.');
176
+
$f->notes = $this->_('Default when no value present is "-10:+10" which shows a date picker year range 10 years before now, and 10 years after now.');
0 commit comments