Skip to content

Commit

Permalink
F
Browse files Browse the repository at this point in the history
  • Loading branch information
amontenegro committed Nov 30, 2023
1 parent 945b814 commit 63b9d00
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,13 @@ export class WorkFormComponent implements OnInit {
return (control: AbstractControl) => {
of(undefined)
.pipe(map( () => {
if(!(formGroup.controls.externalIdentifierId.value?.lenght == 10 || formGroup.controls.externalIdentifierId.value == 13)) {return { validFormat: true, }}
if(!(formGroup.controls.externalIdentifierId.value?.lenght == 10 || formGroup.controls.externalIdentifierId.value == 13))
{
return { validFormat: true, }
}
}
))
}
)
)}
} else {
return (control: AbstractControl) => {
return this._workService
Expand Down

0 comments on commit 63b9d00

Please sign in to comment.