diff --git a/lib/core/src/lib/form/components/widgets/text/text-mask.component.ts b/lib/core/src/lib/form/components/widgets/text/text-mask.component.ts index 18672aa1e8..469759268f 100644 --- a/lib/core/src/lib/form/components/widgets/text/text-mask.component.ts +++ b/lib/core/src/lib/form/components/widgets/text/text-mask.component.ts @@ -74,6 +74,11 @@ export class InputMaskDirective implements OnChanges, ControlValueAccessor { } } + @HostListener('blur') + onBlur() { + this._onTouched(); + } + ngOnChanges(changes: SimpleChanges) { if (changes['inputMask']?.currentValue['mask']) { this.inputMask = changes['inputMask'].currentValue;