diff --git a/source/Ox.UI/js/Form/Ox.OptionGroup.js b/source/Ox.UI/js/Form/Ox.OptionGroup.js index e36bab1b..7366e439 100644 --- a/source/Ox.UI/js/Form/Ox.OptionGroup.js +++ b/source/Ox.UI/js/Form/Ox.OptionGroup.js @@ -111,7 +111,7 @@ Ox.OptionGroup = function(items, min, max, property) { this.value = function() { var value = items.filter(function(item) { return item[property]; - }).function(item) { + }).map(function(item) { return item.id; }); return max == 1 ? (value.length ? value[0] : '') : value;