From 1348994de82e58e63ae913774e356dc28d8bc3e2 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 21 Mar 2012 21:30:05 +0000 Subject: [PATCH] Number widget takes numbers (not text) --- etemplate/js/et2_widget_number.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etemplate/js/et2_widget_number.js b/etemplate/js/et2_widget_number.js index 865c967a31..b92eebc1a3 100644 --- a/etemplate/js/et2_widget_number.js +++ b/etemplate/js/et2_widget_number.js @@ -22,6 +22,9 @@ var et2_number = et2_textbox.extend({ attributes: { + "value": { + "type": "float" + }, // Override default width, numbers are usually shorter "size": { "default": 5