@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.
@@ -480,7 +480,9 @@ var Input;
480
480
  const parent = getParentNode(element);
481
481
  if (parent.classList.contains(CLASSNAMES.FLOATINPUT) && floatLabelType === 'Auto') {
482
482
  const label = getParentNode(element).getElementsByClassName('e-float-text')[0];
483
- updateLabelState(element.value, label, element);
483
+ if (label) {
484
+ updateLabelState(element.value, label, element);
485
+ }
484
486
  }
485
487
  }
486
488
  /**
@@ -13073,7 +13075,7 @@ let ColorPicker = class ColorPicker extends Component {
13073
13075
  else {
13074
13076
  this.setProperties({ 'value': hex }, true);
13075
13077
  }
13076
- this.element.value = hex ? hex : '#000000';
13078
+ this.element.value = hex ? hex : (this.mode === 'Palette' && !this.modeSwitcher && this.noColor ? '' : '#000000');
13077
13079
  }
13078
13080
  handlerDragPosition(prob, value, e) {
13079
13081
  e.preventDefault();