fix a bug in select input

This commit is contained in:
rolux 2012-06-13 15:53:50 +02:00
parent 63d5f04af7
commit 2b494815f2

View file

@ -19,7 +19,7 @@ Ox.SelectInput = function(options, self) {
min: 0,
placeholder: '',
title: '',
value: options.max == 1 ? '' : [],
value: options.max == 1 || options.max == void 0 ? '' : [],
width: 384
}, options || {})
});