@descope/web-components-ui 1.128.0 → 1.129.0

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.
package/dist/index.esm.js CHANGED
@@ -7193,6 +7193,8 @@ class RawDateFieldClass extends BaseInputClass$b {
7193
7193
  this.updateDateCounters(newDate(value));
7194
7194
  } else {
7195
7195
  this.updateEpoch('');
7196
+ this.resetDateCounters();
7197
+ this.clearInputEle();
7196
7198
  }
7197
7199
  }
7198
7200
 
@@ -7492,10 +7494,14 @@ class RawDateFieldClass extends BaseInputClass$b {
7492
7494
  }
7493
7495
 
7494
7496
  if (this.inputElement.value === this.format) {
7495
- this.inputElement.value = '';
7497
+ this.clearInputEle();
7496
7498
  }
7497
7499
  }
7498
7500
 
7501
+ clearInputEle() {
7502
+ this.inputElement.value = '';
7503
+ }
7504
+
7499
7505
  onFormatUpdate(format) {
7500
7506
  if (Object.keys(formats).includes(format)) {
7501
7507
  this.format = format;