From 9348745fb8afda3308d64fcab31b591c63044df3 Mon Sep 17 00:00:00 2001 From: Maxim Palenov Date: Fri, 13 Dec 2024 13:47:48 +0100 Subject: [PATCH] preserve empty string values in rule upgrade final edit forms --- .../field_final_side/components/rule_field_edit_form_wrapper.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/three_way_diff/field_final_side/components/rule_field_edit_form_wrapper.tsx b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/three_way_diff/field_final_side/components/rule_field_edit_form_wrapper.tsx index ab12f62cfa27b..e2148d3cf2a29 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/three_way_diff/field_final_side/components/rule_field_edit_form_wrapper.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/three_way_diff/field_final_side/components/rule_field_edit_form_wrapper.tsx @@ -100,6 +100,7 @@ export function RuleFieldEditFormWrapper({ onSubmit: handleSubmit, options: { warningValidationCodes: VALIDATION_WARNING_CODES, + stripEmptyFields: false, }, });