Number widget takes numbers (not text)

This commit is contained in:
Nathan Gray 2012-03-21 21:30:05 +00:00
parent 8bc924699f
commit 1348994de8

View File

@ -22,6 +22,9 @@
var et2_number = et2_textbox.extend({
attributes: {
"value": {
"type": "float"
},
// Override default width, numbers are usually shorter
"size": {
"default": 5