diff --git a/app/templates/main/jobs/job.html.j2 b/app/templates/main/jobs/job.html.j2
index ea3dd9a0..4057dffb 100644
--- a/app/templates/main/jobs/job.html.j2
+++ b/app/templates/main/jobs/job.html.j2
@@ -65,7 +65,7 @@
break;
case "end_date":
updatedElement = document.getElementById("end-date");
- updatedElement.innerHTML = operation.value;
+ updatedElement.value = operation.value;
M.updateTextFields();
break;
case "status":