diff --git a/dist/react-numeric-input.js b/dist/react-numeric-input.js index 52df137..1b469c5 100644 --- a/dist/react-numeric-input.js +++ b/dist/react-numeric-input.js @@ -82,7 +82,7 @@ return /******/ (function(modules) { // webpackBootstrap var KEYCODE_DOWN = 40; var IS_BROWSER = typeof document != 'undefined'; var RE_NUMBER = /^[+-]?((\.\d+)|(\d+(\.\d+)?))$/; - var RE_INCOMPLETE_NUMBER = /^([+-]|\.0*|[+-]\.0*|[+-]?\d+\.)?$/; + var RE_INCOMPLETE_NUMBER = /^([+-]|[0-9]*\.0*|[+-]\.0*|[+-]?\d+\.)?$/; /** * Just a simple helper to provide support for older IEs. This is not exactly a diff --git a/docs/react-numeric-input.js b/docs/react-numeric-input.js index 52df137..1b469c5 100644 --- a/docs/react-numeric-input.js +++ b/docs/react-numeric-input.js @@ -82,7 +82,7 @@ return /******/ (function(modules) { // webpackBootstrap var KEYCODE_DOWN = 40; var IS_BROWSER = typeof document != 'undefined'; var RE_NUMBER = /^[+-]?((\.\d+)|(\d+(\.\d+)?))$/; - var RE_INCOMPLETE_NUMBER = /^([+-]|\.0*|[+-]\.0*|[+-]?\d+\.)?$/; + var RE_INCOMPLETE_NUMBER = /^([+-]|[0-9]*\.0*|[+-]\.0*|[+-]?\d+\.)?$/; /** * Just a simple helper to provide support for older IEs. This is not exactly a