diff --git a/platform/features/fixed/bundle.js b/platform/features/fixed/bundle.js index 3149c6a290..9d803b2f05 100644 --- a/platform/features/fixed/bundle.js +++ b/platform/features/fixed/bundle.js @@ -162,7 +162,7 @@ define([ "control": "textfield" }, { - "method": "y1", + "property": "x1", "text": "X1", "name": "X1", "cssClass": "l-input-sm", diff --git a/platform/features/layout/src/elements/ElementProxy.js b/platform/features/layout/src/elements/ElementProxy.js index 25f9f13e06..e3c8613ec9 100644 --- a/platform/features/layout/src/elements/ElementProxy.js +++ b/platform/features/layout/src/elements/ElementProxy.js @@ -166,7 +166,7 @@ define( ElementProxy.prototype.checkNumeric = function(value, current) { // Allow field to be empty if (value === ''){ - return value; + return 0; } // Else, check if the input is integral, and not, return current value // of the field