From 3d8805d0678b7d1dfafcdb426a37da54f47cbf1f Mon Sep 17 00:00:00 2001 From: "madhu.sr" <madhu.sr@vtigersolutions.com> Date: Wed, 6 Mar 2024 17:43:32 +0530 Subject: [PATCH] When we select more than 2 values in multi select combo box ,after saving it is displaying only with one value --- modules/Calendar/actions/Save.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/Calendar/actions/Save.php b/modules/Calendar/actions/Save.php index f6b4cf19f..01309bc37 100644 --- a/modules/Calendar/actions/Save.php +++ b/modules/Calendar/actions/Save.php @@ -150,6 +150,9 @@ class Calendar_Save_Action extends Vtiger_Save_Action { if($fieldDataType == 'time' && $fieldValue !== null){ $fieldValue = Vtiger_Time_UIType::getTimeValueWithSeconds($fieldValue); } + if(is_array($fieldValue) && $fieldDataType == 'multipicklist'){ + $fieldValue=implode(' |##| ',$fieldValue); + } // End if ($fieldName === $request->get('field')) { $fieldValue = $request->get('value'); -- GitLab