@syncfusion/ej2-inputs 34.2.6 → 34.2.8

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.
@@ -649,7 +649,7 @@ var Input;
649
649
  function setPlaceholder(placeholder, element, moduleName) {
650
650
  var modules = [
651
651
  'textbox', 'numerictextbox', 'textarea', 'combobox',
652
- 'datepicker', 'daterangepicker', 'datetimepicker'
652
+ 'datepicker', 'daterangepicker', 'datetimepicker', 'maskedtextbox'
653
653
  ];
654
654
  placeholder = encodePlaceHolder(placeholder);
655
655
  var parentElement = getParentNode(element);
@@ -4173,7 +4173,7 @@ var MaskedTextBox = /** @__PURE__ @class */ (function (_super) {
4173
4173
  };
4174
4174
  MaskedTextBox.prototype.setMaskPlaceholder = function (setVal, dynamicPlaceholder) {
4175
4175
  if (dynamicPlaceholder || this.placeholder) {
4176
- Input.setPlaceholder(this.placeholder, this.element);
4176
+ Input.setPlaceholder(this.placeholder, this.element, this.getModuleName());
4177
4177
  if ((this.element.value === this.promptMask && setVal && this.floatLabelType !== 'Always') ||
4178
4178
  this.element.value === this.promptMask && this.floatLabelType === 'Never') {
4179
4179
  setElementValue.call(this, '');
@@ -9245,7 +9245,7 @@ var Uploader = /** @__PURE__ @class */ (function (_super) {
9245
9245
  }
9246
9246
  };
9247
9247
  Uploader.prototype.setDropArea = function () {
9248
- var dropTextArea = this.dropAreaWrapper.querySelector('.e-file-drop');
9248
+ var dropTextArea = this.dropAreaWrapper && this.dropAreaWrapper.querySelector('.e-file-drop');
9249
9249
  if (this.dropArea) {
9250
9250
  this.dropZoneElement = (typeof (this.dropArea) !== 'string') ? this.dropArea :
9251
9251
  select(this.dropArea, document);