mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-25 00:03:27 +08:00
Fix updating repository checklist to a blank one [SCI-8921]
This commit is contained in:
parent
e51054af48
commit
7dd7566080
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue