diff --git a/app/assets/javascripts/repositories/renderers/columns/checklist.js b/app/assets/javascripts/repositories/renderers/columns/checklist.js index 58b798d04..98e488faf 100644 --- a/app/assets/javascripts/repositories/renderers/columns/checklist.js +++ b/app/assets/javascripts/repositories/renderers/columns/checklist.js @@ -48,7 +48,8 @@ var ChecklistColumnHelper = (function() { optionClass: 'checkbox-icon', selectAppearance: 'simple', onChange: function() { - $hiddenField.val(JSON.stringify(dropdownSelector.getValues('#' + select))); + let currentValues = dropdownSelector.getValues('#' + select); + $hiddenField.val(currentValues.length ? JSON.stringify(currentValues) : null); } }); }