Skip to content

Commit 031ad44

Browse files
author
Stanislav Idolov
authored
ENGCOM-1626: [Backport] Allow configuring min and max dates for date picker component #15318
2 parents 2535b73 + 2806acd commit 031ad44

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)