From 506d06c8823ca83c5ecf5799415d36cade05b6cf Mon Sep 17 00:00:00 2001
From: Alex ORLUC <alex.orluc@maarch.org>
Date: Fri, 4 Dec 2020 12:04:32 +0100
Subject: [PATCH] FIX #15443 TIME 0:10 fix check required field

---
 .../registered-mail/indexing/recipient-input.component.ts       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/frontend/app/administration/registered-mail/indexing/recipient-input.component.ts b/src/frontend/app/administration/registered-mail/indexing/recipient-input.component.ts
index 171c210d34a..de9256c09c5 100644
--- a/src/frontend/app/administration/registered-mail/indexing/recipient-input.component.ts
+++ b/src/frontend/app/administration/registered-mail/indexing/recipient-input.component.ts
@@ -151,7 +151,7 @@ export class RegisteredMailRecipientInputComponent implements OnInit {
         this.control.value.addressCountry = 'FRANCE';
         this.countryControl.setValue('FRANCE');
         this.addressBANControl.setValue('');
-        this.control.setErrors({ 'required': true });
+        this.checkRequiredFields();
         this.control.markAsTouched();
     }
 
-- 
GitLab