From 5e26bc501fbf89947d993c0f0b92dd2143ac1087 Mon Sep 17 00:00:00 2001 From: Wahyu Ramadhan Date: Fri, 19 May 2023 08:43:03 +0700 Subject: [PATCH] Fix form reset --- edit-mode/function/reportActivity.js | 1 + 1 file changed, 1 insertion(+) diff --git a/edit-mode/function/reportActivity.js b/edit-mode/function/reportActivity.js index 1bb7d5b..69e4d52 100644 --- a/edit-mode/function/reportActivity.js +++ b/edit-mode/function/reportActivity.js @@ -16,6 +16,7 @@ function resetFormAddRa() { function resetFormAddRaMaterial() { $("#id_ra_material").val(""); + $("#select_ra_hr_material").empty().trigger('change'); $('#form_report_activity_material').trigger("reset"); $('#btn_add_ra_material').html('Add'); $('#btn_add_ra_material').prop("disabled", false);