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 82fa6417fc..1491640f21 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 @@ -75,6 +75,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;