diff --git a/source/Ox.UI/js/Form/Input.js b/source/Ox.UI/js/Form/Input.js index a50a64ab..c935f7e5 100644 --- a/source/Ox.UI/js/Form/Input.js +++ b/source/Ox.UI/js/Form/Input.js @@ -546,7 +546,7 @@ Ox.Input = function(options, self) { '(^' + (self.options.min < 0 ? '\\-?' : '') + '\\d+\\.?\\d' + (self.options.decimals ? '{0,' + self.options.decimals + '}' : '*') + '$)' - ) : new RegExp('(^' + (self.options.min < 0 ? '\\-?' : '') + '\\d+)'); + ) : new RegExp('(^' + (self.options.min < 0 ? '\\-?' : '') + '\\d+$)'); if (type == 'float') { if (value === '') { value = '0.' + self.decimals;