@syncfusion/ej2-inputs 35.1.37 → 35.1.41

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.
@@ -483,7 +483,9 @@ var Input;
483
483
  var parent = getParentNode(element);
484
484
  if (parent.classList.contains(CLASSNAMES.FLOATINPUT) && floatLabelType === 'Auto') {
485
485
  var label = getParentNode(element).getElementsByClassName('e-float-text')[0];
486
- updateLabelState(element.value, label, element);
486
+ if (label) {
487
+ updateLabelState(element.value, label, element);
488
+ }
487
489
  }
488
490
  }
489
491
  /**
@@ -13325,7 +13327,7 @@ var ColorPicker = /** @__PURE__ @class */ (function (_super) {
13325
13327
  else {
13326
13328
  this.setProperties({ 'value': hex }, true);
13327
13329
  }
13328
- this.element.value = hex ? hex : '#000000';
13330
+ this.element.value = hex ? hex : (this.mode === 'Palette' && !this.modeSwitcher && this.noColor ? '' : '#000000');
13329
13331
  };
13330
13332
  ColorPicker.prototype.handlerDragPosition = function (prob, value, e) {
13331
13333
  e.preventDefault();