windy 4 years ago
parent
commit
bd2c186696
  1. 4
      src/widget/datepane/datepane.js
  2. 4
      src/widget/datetimepane/datetimepane.js

4
src/widget/datepane/datepane.js

@ -1,7 +1,9 @@
BI.DynamicDatePane = BI.inherit(BI.Widget, { BI.DynamicDatePane = BI.inherit(BI.Widget, {
props: { props: {
baseCls: "bi-dynamic-date-pane" baseCls: "bi-dynamic-date-pane",
minDate: "1900-01-01",
maxDate: "2099-12-31",
}, },
render: function () { render: function () {

4
src/widget/datetimepane/datetimepane.js

@ -1,7 +1,9 @@
BI.DynamicDateTimePane = BI.inherit(BI.Widget, { BI.DynamicDateTimePane = BI.inherit(BI.Widget, {
props: { props: {
baseCls: "bi-dynamic-date-pane" baseCls: "bi-dynamic-date-pane",
minDate: "1900-01-01",
maxDate: "2099-12-31",
}, },
render: function () { render: function () {

Loading…
Cancel
Save