diff --git a/responders/src/UI/embc-responder/src/app/feature-components/wizard/support-components/support-details/support-details.component.html b/responders/src/UI/embc-responder/src/app/feature-components/wizard/support-components/support-details/support-details.component.html index 594f95b3e..51717bcf0 100644 --- a/responders/src/UI/embc-responder/src/app/feature-components/wizard/support-components/support-details/support-details.component.html +++ b/responders/src/UI/embc-responder/src/app/feature-components/wizard/support-components/support-details/support-details.component.html @@ -119,15 +119,6 @@ ) { Only digits allowed } - @if ( - supportDetailsFormControl?.paperSupportNumber.invalid && - supportDetailsFormControl?.paperSupportNumber.hasError('userNameExists') - ) { - - Paper Referral Number already exists for the same Support type: - {{ stepSupportsService?.supportTypeToAdd?.description }} - }
diff --git a/responders/src/UI/embc-responder/src/app/feature-components/wizard/support-components/support-details/support-details.component.ts b/responders/src/UI/embc-responder/src/app/feature-components/wizard/support-components/support-details/support-details.component.ts index 524bd703f..08f44b828 100644 --- a/responders/src/UI/embc-responder/src/app/feature-components/wizard/support-components/support-details/support-details.component.ts +++ b/responders/src/UI/embc-responder/src/app/feature-components/wizard/support-components/support-details/support-details.component.ts @@ -810,7 +810,6 @@ export class SupportDetailsComponent implements OnInit, OnDestroy { this.supportDetailsForm .get('paperSupportNumber') .setValidators([ - this.customValidation.userNameExistsValidator(filteredReferrals.length > 0).bind(this.customValidation), this.customValidation .conditionalValidation( () => this.evacueeSessionService.isPaperBased,