Make sure ArrayInput works with undefined as value
This commit is contained in:
parent
1989129c0f
commit
ad7e5f3eaf
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,8 @@ Ox.ArrayInput = function(options, self) {
|
||||||
width: setWidths
|
width: setWidths
|
||||||
});
|
});
|
||||||
|
|
||||||
|
self.options.value = self.options.value || [];
|
||||||
|
|
||||||
if (self.options.label) {
|
if (self.options.label) {
|
||||||
self.$label = Ox.Label({
|
self.$label = Ox.Label({
|
||||||
title: self.options.label,
|
title: self.options.label,
|
||||||
|
|
Loading…
Reference in a new issue