@syncfusion/ej2-calendars
Advanced tools
Comparing version 16.2.50 to 16.2.51
@@ -5,2 +5,10 @@ # Changelog | ||
### DateTimePicker | ||
#### Bug Fixes | ||
- DateTimePicker value will now accept the date values (without time) while entering value in the input element. | ||
## 16.2.50 (2018-08-28) | ||
### DatePicker | ||
@@ -12,2 +20,4 @@ | ||
- Fixed the validation issue in mobile devices. | ||
### DateRangePicker | ||
@@ -14,0 +24,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 16.2.50 | ||
* version : 16.2.51 | ||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"name": "@syncfusion/ej2-calendars", | ||
"version": "16.2.50", | ||
"version": "16.2.51", | ||
"description": "Essential JS 2 Calendar Components", | ||
@@ -12,4 +12,4 @@ "author": "Syncfusion Inc.", | ||
"@syncfusion/ej2-base": "~16.2.50", | ||
"@syncfusion/ej2-popups": "~16.2.50", | ||
"@syncfusion/ej2-inputs": "~16.2.50", | ||
"@syncfusion/ej2-popups": "~16.2.51", | ||
"@syncfusion/ej2-inputs": "~16.2.51", | ||
"@syncfusion/ej2-lists": "~16.2.50", | ||
@@ -16,0 +16,0 @@ "@syncfusion/ej2-buttons": "~16.2.50" |
@@ -297,2 +297,5 @@ var __extends = (this && this.__extends) || (function () { | ||
DatePicker.prototype.dateIconHandler = function (e) { | ||
if (Browser.isDevice) { | ||
this.element.setAttribute('readonly', 'readonly'); | ||
} | ||
e.preventDefault(); | ||
@@ -446,3 +449,14 @@ if (!this.readonly) { | ||
} | ||
var date = this.globalize.parseDate(this.inputElement.value, dateOptions); | ||
var date; | ||
if ((this.getModuleName() === 'datetimepicker')) { | ||
if (this.checkDateValue(this.globalize.parseDate(this.inputElement.value, dateOptions))) { | ||
date = this.globalize.parseDate(this.inputElement.value, dateOptions); | ||
} | ||
else { | ||
date = this.globalize.parseDate(this.inputElement.value, { type: 'dateTime', skeleton: 'yMd' }); | ||
} | ||
} | ||
else { | ||
date = this.globalize.parseDate(this.inputElement.value, dateOptions); | ||
} | ||
if (this.strictMode && date) { | ||
@@ -449,0 +463,0 @@ Input.setValue(this.globalize.formatDate(date, dateOptions), this.inputElement, this.floatLabelType, this.showClearButton); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19142600
196800