diff --git a/projects/ui/src/lib/components/po-field/po-input/po-mask.ts b/projects/ui/src/lib/components/po-field/po-input/po-mask.ts index d8e9e8458e..fbc4cbb8c3 100644 --- a/projects/ui/src/lib/components/po-field/po-input/po-mask.ts +++ b/projects/ui/src/lib/components/po-field/po-input/po-mask.ts @@ -356,13 +356,12 @@ export class PoMask { this.valueToModel = this.removeFormattingValue(valueProcessed); } - - if(valueProcessed.length > 1) { + if (valueProcessed.length > 1) { this.validMask.set(true); } else { this.validMask.set(false); } - + return valueProcessed; }