From 2b494815f2251d4a027a90d73c45c6723fcb73d0 Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 13 Jun 2012 15:53:50 +0200 Subject: [PATCH] fix a bug in select input --- source/Ox.UI/js/Form/SelectInput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Form/SelectInput.js b/source/Ox.UI/js/Form/SelectInput.js index 57552641..34389a82 100644 --- a/source/Ox.UI/js/Form/SelectInput.js +++ b/source/Ox.UI/js/Form/SelectInput.js @@ -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 || {}) });