@syncfusion/ej2-calendars 24.1.43 → 24.1.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11485,7 +11485,7 @@ var TimePicker = /** @__PURE__ @class */ (function (_super) {
11485
11485
  TimePicker.prototype.validateValue = function (date, value) {
11486
11486
  var time;
11487
11487
  var val = this.validateMinMax(value, this.min, this.max);
11488
- var newval = this.createDateObj(val);
11488
+ var newval = this.getDateObject(val);
11489
11489
  if (this.getFormattedValue(newval) !== this.getFormattedValue(this.value)) {
11490
11490
  this.valueWithMinutes = isNullOrUndefined(newval) ? null : newval;
11491
11491
  time = this.objToString(this.valueWithMinutes);
@@ -13994,7 +13994,10 @@ var DateTimePicker = /** @__PURE__ @class */ (function (_super) {
13994
13994
  break;
13995
13995
  case 'enabled':
13996
13996
  Input.setEnabled(this.enabled, this.inputElement);
13997
- if (!this.enabled) {
13997
+ if (this.enabled) {
13998
+ this.inputElement.setAttribute('tabindex', this.tabIndex);
13999
+ }
14000
+ else {
13998
14001
  this.inputElement.tabIndex = -1;
13999
14002
  }
14000
14003
  break;