@descope/web-components-ui 1.127.0 → 1.128.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
@@ -7187,9 +7187,10 @@ class RawDateFieldClass extends BaseInputClass$b {
7187
7187
  }
7188
7188
 
7189
7189
  set value(val) {
7190
- if (!Number.isNaN(val)) {
7191
- this.updateEpoch(val);
7192
- this.updateDateCounters(newDate(val));
7190
+ let value = parseInt(val, 10);
7191
+ if (!Number.isNaN(value)) {
7192
+ this.updateEpoch(value);
7193
+ this.updateDateCounters(newDate(value));
7193
7194
  } else {
7194
7195
  this.updateEpoch('');
7195
7196
  }