From 4f4355f0f86ed0f86fabb31a83e440bd9d35bcca Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 6 Jun 2012 14:21:38 +0000 Subject: [PATCH] Fix empty label - default value for selectbox has to be '' --- etemplate/js/et2_widget_selectbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_widget_selectbox.js b/etemplate/js/et2_widget_selectbox.js index c1e8a38412..e810345d53 100644 --- a/etemplate/js/et2_widget_selectbox.js +++ b/etemplate/js/et2_widget_selectbox.js @@ -64,7 +64,7 @@ var et2_selectbox = et2_inputWidget.extend({ this._super.apply(this, arguments); this.input = null; - this.value = []; + this.value = ''; // Allow no other widgets inside this one this.supportedWidgetClasses = [];