Skip to content

Commit 7cd0994

Browse files
author
Oleksii Korshenko
authored
ENGCOM-1246: Allow to configure min and max dates for date picker component #14552
2 parents bb2216a + d0738f0 commit 7cd0994

File tree

1 file changed

+2
-0
lines changed
  • lib/internal/Magento/Framework/Data/Form/Element

1 file changed

+2
-0
lines changed

lib/internal/Magento/Framework/Data/Form/Element/Date.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ public function getElementHtml()
167167
'buttonImage' => $this->getImage(),
168168
'buttonText' => 'Select Date',
169169
'disabled' => $this->getDisabled(),
170+
'minDate' => $this->getMinDate(),
171+
'maxDate' => $this->getMaxDate(),
170172
],
171173
]
172174
)

0 commit comments

Comments
 (0)