From 898a8722320ccd29a8ccc848993299b1abe9f76a Mon Sep 17 00:00:00 2001 From: Vaibhav Rathore Date: Wed, 25 Feb 2026 16:56:02 +0530 Subject: [PATCH] fix: make conferencing provider optional during batch creation The conferencing_provider Select field defaulted to "Zoom" (first option) when not explicitly set, causing batch creation to fail with "Please select a Zoom account for this batch" since no zoom_account is provided at creation time. --- frontend/src/pages/Batches/BatchForm.vue | 4 ++++ lms/lms/doctype/lms_batch/lms_batch.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/Batches/BatchForm.vue b/frontend/src/pages/Batches/BatchForm.vue index 9e838a49..8dabab12 100644 --- a/frontend/src/pages/Batches/BatchForm.vue +++ b/frontend/src/pages/Batches/BatchForm.vue @@ -483,6 +483,10 @@ const trashBatch = (close) => { const conferencingOptions = computed(() => { return [ + { + label: '', + value: '', + }, { label: 'Zoom', value: 'Zoom', diff --git a/lms/lms/doctype/lms_batch/lms_batch.json b/lms/lms/doctype/lms_batch/lms_batch.json index ef1fd637..2f554d19 100644 --- a/lms/lms/doctype/lms_batch/lms_batch.json +++ b/lms/lms/doctype/lms_batch/lms_batch.json @@ -366,7 +366,7 @@ "fieldname": "conferencing_provider", "fieldtype": "Select", "label": "Conferencing Provider", - "options": "Zoom\nGoogle Meet" + "options": "\nZoom\nGoogle Meet" }, { "depends_on": "eval:doc.conferencing_provider=='Zoom'",