mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
AAE-36716 fixing text-form-field blur mechanism in control Value Accessor (#11045)
AAE-36716 fixing text-form-field blur mechanism in control Value Accessor
This commit is contained in:
committed by
GitHub
parent
d7ec3a1b77
commit
9a3ababb9c
@@ -74,6 +74,11 @@ export class InputMaskDirective implements OnChanges, ControlValueAccessor {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@HostListener('blur')
|
||||||
|
onBlur() {
|
||||||
|
this._onTouched();
|
||||||
|
}
|
||||||
|
|
||||||
ngOnChanges(changes: SimpleChanges) {
|
ngOnChanges(changes: SimpleChanges) {
|
||||||
if (changes['inputMask']?.currentValue['mask']) {
|
if (changes['inputMask']?.currentValue['mask']) {
|
||||||
this.inputMask = changes['inputMask'].currentValue;
|
this.inputMask = changes['inputMask'].currentValue;
|
||||||
|
Reference in New Issue
Block a user