@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.
@@ -17263,6 +17263,8 @@ class RawDateFieldClass extends BaseInputClass$2 {
17263
17263
  this.updateDateCounters(newDate(value));
17264
17264
  } else {
17265
17265
  this.updateEpoch('');
17266
+ this.resetDateCounters();
17267
+ this.clearInputEle();
17266
17268
  }
17267
17269
  }
17268
17270
 
@@ -17562,10 +17564,14 @@ class RawDateFieldClass extends BaseInputClass$2 {
17562
17564
  }
17563
17565
 
17564
17566
  if (this.inputElement.value === this.format) {
17565
- this.inputElement.value = '';
17567
+ this.clearInputEle();
17566
17568
  }
17567
17569
  }
17568
17570
 
17571
+ clearInputEle() {
17572
+ this.inputElement.value = '';
17573
+ }
17574
+
17569
17575
  onFormatUpdate(format) {
17570
17576
  if (Object.keys(formats).includes(format)) {
17571
17577
  this.format = format;