@ascentgl/ads-ui 21.114.5 → 21.115.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.
@@ -2784,7 +2784,15 @@ class AbstractBaseComponent {
2784
2784
  if (this.displayControl.touched && this.displayControl.invalid) {
2785
2785
  this.displayControl.setValue(null, { emitEvent: false });
2786
2786
  }
2787
- this.displayControl.markAsUntouched();
2787
+ // When immediateValidation is active, re-mark as touched so the error border
2788
+ // appears even after a programmatic reset() call.
2789
+ if (this.immediateValidation && this.valueControl.invalid) {
2790
+ this.valueControl.markAsTouched({ onlySelf: true });
2791
+ this.displayControl.markAsTouched();
2792
+ }
2793
+ else {
2794
+ this.displayControl.markAsUntouched();
2795
+ }
2788
2796
  }
2789
2797
  else if (this.displayControl.untouched) {
2790
2798
  this.displayControl.markAsTouched();