Skip to content
Snippets Groups Projects

Fixes:#1173 ::Uma:: Multi picklist Validation and save for editable picklist values is supported

Merged Fixes:#1173 ::Uma:: Multi picklist Validation and save for editable picklist values is supported
Merged Uma requested to merge uma.s/vtigercrm:multi_picklist_Validation_and_Save into master

Merge request reports

Merged by avatar (Mar 24, 2025 8:30am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
56 56 }
57 57
58 58 $fieldDataType = $fieldModel->getFieldDataType();
59 if($fieldValue){
60 $fieldValue = Vtiger_Util_Helper::validateFieldValue($fieldValue,$fieldModel);
61 }
59 62 if ($fieldDataType == 'time' && $fieldValue !== null) {
  • @uma.s @prasad The above change seems to have broken multi-select picklists in vtiger 7.4.0. We have a custom UIType 33 field in Quotes, Sales Orders and Invoices. Only in Sales Orders we noticed a problem that when you ajax edited the field, it was set to blank no matter what value you chose after saving. I replaced the patch code above with the same code that is in the Vtiger_SaveAjax_Action class and it now works correctly.

Please register or sign in to reply
Loading