Skip to content

Commit c5d1aee

Browse files
committed
disabling the input of greater dates from datepicker. Validation still on field for manual inputs
1 parent 4515859 commit c5d1aee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/code/Magento/Customer/view/base/ui_component/customer_form.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,9 @@
260260
<argument name="data" xsi:type="array">
261261
<item name="config" xsi:type="array">
262262
<item name="source" xsi:type="string">customer</item>
263+
<item name="options" xsi:type="array">
264+
<item name="maxDate" xsi:type="string">-1d</item>
265+
</item>
263266
</item>
264267
</argument>
265268
<settings>

0 commit comments

Comments
 (0)