Skip to content

Commit fefe9c9

Browse files
author
Stanislav Idolov
authored
ENGCOM-1279: [Forwardport] Allow to configure min and max dates for date picker component #14683
2 parents db770f1 + c3652a2 commit fefe9c9

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)