@syncfusion/ej2-inputs 23.1.42 → 23.1.43

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.
@@ -29,6 +29,7 @@ var Input;
29
29
  (function (Input) {
30
30
  let floatType;
31
31
  let isBindClearAction = true;
32
+ let floatLabelElement;
32
33
  /**
33
34
  * Create a wrapper to input element with multiple span elements and set the basic properties to input based components.
34
35
  * ```
@@ -176,7 +177,7 @@ var Input;
176
177
  inputObject.container.classList.add(CLASSNAMES.FLOATINPUT);
177
178
  }
178
179
  const floatLinelement = makeElement('span', { className: CLASSNAMES.FLOATLINE });
179
- const floatLabelElement = makeElement('label', { className: CLASSNAMES.FLOATTEXT });
180
+ floatLabelElement = makeElement('label', { className: CLASSNAMES.FLOATTEXT });
180
181
  if (!isNullOrUndefined(args.element.id) && args.element.id !== '') {
181
182
  floatLabelElement.id = 'label_' + args.element.id.replace(/ /g, '_');
182
183
  attributes(args.element, { 'aria-labelledby': floatLabelElement.id });
@@ -343,6 +344,7 @@ var Input;
343
344
  }
344
345
  Input.wireClearBtnEvents = wireClearBtnEvents;
345
346
  function destroy() {
347
+ floatLabelElement = null;
346
348
 
347
349
  }
348
350
  Input.destroy = destroy;
@@ -7104,6 +7106,7 @@ let FormValidator = FormValidator_1 = class FormValidator extends Base {
7104
7106
  detach(element);
7105
7107
  }
7106
7108
  super.destroy();
7109
+ this.infoElement = null;
7107
7110
  onIntlChange.off('notifyExternalChange', this.afterLocalization);
7108
7111
  }
7109
7112
  /**
@@ -7138,7 +7141,7 @@ let FormValidator = FormValidator_1 = class FormValidator extends Base {
7138
7141
  * @returns {string} - Returns the component name.
7139
7142
  */
7140
7143
  getModuleName() {
7141
- return 'formValidator';
7144
+ return 'formvalidator';
7142
7145
  }
7143
7146
  /**
7144
7147
  * @param {any} args - Specifies the culture name.
@@ -13511,6 +13514,9 @@ let TextBox = class TextBox extends Component {
13511
13514
  const prevOnChange = this.isProtectedOnChange;
13512
13515
  this.isProtectedOnChange = true;
13513
13516
  this.value = value;
13517
+ if (value == null && this.textboxWrapper.container.classList.contains('e-valid-input')) {
13518
+ this.textboxWrapper.container.classList.remove('e-valid-input');
13519
+ }
13514
13520
  this.isProtectedOnChange = prevOnChange;
13515
13521
  }
13516
13522
  resetForm() {
@@ -13863,7 +13869,6 @@ class SignatureBase extends Component {
13863
13869
  this.timeout = null;
13864
13870
  this.isSignatureEmpty = true;
13865
13871
  this.backgroundLoaded = null;
13866
- this.clearArray = [];
13867
13872
  this.isBlazor = false;
13868
13873
  this.isResponsive = false;
13869
13874
  this.signPointsColl = [];
@@ -13878,6 +13883,7 @@ class SignatureBase extends Component {
13878
13883
  * @returns {void}
13879
13884
  */
13880
13885
  initialize(element, dotnetRef) {
13886
+ this.clearArray = [];
13881
13887
  this.element = element;
13882
13888
  this.canvasContext = this.element.getContext('2d');
13883
13889
  this.canvasContext.canvas.tabIndex = -1;