diff --git a/frontend/src/components/exams/edit-exam-form-modal.vue b/frontend/src/components/exams/edit-exam-form-modal.vue
index b075f1d6e..bc308a492 100644
--- a/frontend/src/components/exams/edit-exam-form-modal.vue
+++ b/frontend/src/components/exams/edit-exam-form-modal.vue
@@ -221,12 +221,29 @@
-
-
+
+ {{displayText }}
+
+
+ {{ option.exam_type_name }}
+
+
+
+
+
+
- type.ita_ind === 1 &&
- type.group_exam_ind === 0 &&
- !type.exam_type_name.includes('Monthly'))
+ type.ita_ind === 1 &&
+ type.group_exam_ind === 0 &&
+ !type.exam_type_name.includes('Monthly'))
return exams.sort((a, b) => a.exam_type_name - b.exam_type_name)
- }
+ }
get fieldsEdited() {
const fieldsEdited: any = []
@@ -780,6 +803,11 @@ export default class EditExamModal extends Vue {
this.toggleEditExamModal(e)
}
+ setPlaceHolder (item): void {
+ this.objectItem = { exam_type_id : item.exam_type_id }
+ this.displayText = item.exam_type_name
+ }
+
handleConfirm () {
this.showConfirmationModal = false
this.deleteBooking(this.actionedExam.booking_id)
@@ -787,6 +815,7 @@ export default class EditExamModal extends Vue {
}
handleCancel () {
+ this.displayText = this.actionedExam.exam_type.exam_type_name
this.showConfirmationModal = false
}
@@ -888,6 +917,7 @@ export default class EditExamModal extends Vue {
this.exam_received = true
}
this.office_number = exam.office.office_number
+ this.displayText = this.actionedExam.exam_type.exam_type_name
}
setOffice (officeNumber) {