Make sure ArrayInput works with undefined as value

This commit is contained in:
rolux 2014-11-21 14:32:13 +00:00
parent 1989129c0f
commit ad7e5f3eaf

View file

@ -30,6 +30,8 @@ Ox.ArrayInput = function(options, self) {
width: setWidths
});
self.options.value = self.options.value || [];
if (self.options.label) {
self.$label = Ox.Label({
title: self.options.label,