diff --git a/src/frontend/app/indexation/indexing-form/indexing-form.component.ts b/src/frontend/app/indexation/indexing-form/indexing-form.component.ts
index a9b5bfb05fd355f9e8cb929e833eff8b9fab6b7b..a5922f5d4802b42ac28fbee8cda24d0fd3a39ad8 100755
--- a/src/frontend/app/indexation/indexing-form/indexing-form.component.ts
+++ b/src/frontend/app/indexation/indexing-form/indexing-form.component.ts
@@ -1218,7 +1218,9 @@ export class IndexingFormComponent implements OnInit {
     }
 
     launchEvent(value: any, field: any) {
-        if (field.event !== undefined && value !== null && !this.adminMode) {
+        if (field.event !== undefined && field.identifier === 'priority' && value === null) {
+            this[field.event](field, value);
+        } else if (field.event !== undefined && value !== null && !this.adminMode) {
             this[field.event](field, value);
         }
     }
@@ -1227,9 +1229,9 @@ export class IndexingFormComponent implements OnInit {
         let limitDate: any = null;
         const objToSend: any = {
             doctype: value,
-            priority: this.arrFormControl['priority'].value
+            priority: this.arrFormControl['priority']?.value
         };
-        if (this.functions.empty(this.arrFormControl['priority'].value)) {
+        if (this.functions.empty(this.arrFormControl['priority']?.value)) {
             delete objToSend.priority;
         }
         if (this.arrFormControl['processLimitDate'] !== undefined) {
@@ -1256,10 +1258,12 @@ export class IndexingFormComponent implements OnInit {
         let limitDate: any = null;
         const objToSend: any = {
             priority: value,
-            doctype: this.arrFormControl['doctype'].value
+            doctype: this.arrFormControl['doctype']?.value
         };
-        if (this.functions.empty(this.arrFormControl['doctype'].value)) {
+        if (!this.functions.empty(objToSend.priority) && this.functions.empty(this.arrFormControl['doctype']?.value)) {
             delete objToSend.doctype;
+        } else if (this.functions.empty(objToSend.priority) && !this.functions.empty(this.arrFormControl['doctype']?.value)) {
+            delete objToSend.priority;
         }
         if (this.arrFormControl['processLimitDate'] !== undefined) {
             this.http.get('../rest/indexing/processLimitDate', { params: objToSend }).pipe(