forked from 0x2620/oxjs
form elements rewrite, part 3
This commit is contained in:
parent
a6c01dd6c6
commit
d80019a17c
8 changed files with 87 additions and 92 deletions
|
|
@ -97,14 +97,6 @@ Ox.CheckboxGroup = function(options, self) {
|
|||
}
|
||||
}
|
||||
|
||||
that.value = function() {
|
||||
return self.options.checkboxes.filter(function(checkbox) {
|
||||
return checkbox.value;
|
||||
}).map(function(checkbox) {
|
||||
return checkbox.id;
|
||||
});
|
||||
};
|
||||
|
||||
return that;
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue