ets-fe-ng-sdk 20.3.37 → 20.3.38

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.
@@ -18137,6 +18137,14 @@ class DayHourMinInputComponent extends InputBasicComponent {
18137
18137
  this.sub3 = this.subForm?.valueChanges.subscribe((r) => {
18138
18138
  if (this.debug())
18139
18139
  debugger;
18140
+ if (r?.days < 0 || r?.hours < 0 || r?.mins < 0) {
18141
+ this.subForm.patchValue({
18142
+ days: r?.days < 0 ? Math.abs(r.days) : r?.days,
18143
+ hours: r?.hours < 0 ? Math.abs(r.hours) : r?.hours,
18144
+ mins: r?.mins < 0 ? Math.abs(r.mins) : r?.mins
18145
+ });
18146
+ return;
18147
+ }
18140
18148
  if (this.control()?.pristine)
18141
18149
  this.control()?.markAsDirty();
18142
18150
  if (!this.control()?.disabled) {