SAP Knowledge Base Article - Preview

2841652 - sap.m.DatePicker: Exception when setting maxDate to yesterday

Symptom

Click the DatePicker which is set maxDate to yesterday, the error below would generate under the console log.

=======================================================

Uncaught Error: Date must not be in valid range (minDate and maxDate)

=======================================================


Read more...

Environment

SAP UI5 v1.58 or any version below 1.60

Product

SAP NetWeaver 7.5 ; SAPUI5 all versions

Keywords

  DatePicker, maxDate, Yesterday, Valid range, minDate , KBA , CA-UI5-CTR , SAP UI5 Controls , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.