Skip to content

Commit c3652a2

Browse files
ENGCOM-1279: [Forwardport] Allow to configure min and max dates for date picker component #14683
- Merge Pull Request #14683 from rostyslav-hymon/magento2:2.3-develop-PR-port-14552 - Merged commits: 1. 7b5c5d1
2 parents a2f6a08 + 7b5c5d1 commit c3652a2

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)