diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-12 14:18:54 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-12 14:18:54 +0800 |
commit | 836bf2e1a38bb6917f1b7fe9db0604c8143c7adf (patch) | |
tree | 9971f4349e4ffb39f2769b562dd339f8e9f1854b /ui/app/components/input-number.js | |
parent | 1e83835ba8cce0fdf794092a8c55b6c68664204a (diff) | |
download | tangerine-wallet-browser-836bf2e1a38bb6917f1b7fe9db0604c8143c7adf.tar tangerine-wallet-browser-836bf2e1a38bb6917f1b7fe9db0604c8143c7adf.tar.gz tangerine-wallet-browser-836bf2e1a38bb6917f1b7fe9db0604c8143c7adf.tar.bz2 tangerine-wallet-browser-836bf2e1a38bb6917f1b7fe9db0604c8143c7adf.tar.lz tangerine-wallet-browser-836bf2e1a38bb6917f1b7fe9db0604c8143c7adf.tar.xz tangerine-wallet-browser-836bf2e1a38bb6917f1b7fe9db0604c8143c7adf.tar.zst tangerine-wallet-browser-836bf2e1a38bb6917f1b7fe9db0604c8143c7adf.zip |
Add frontend validation to send-token
Diffstat (limited to 'ui/app/components/input-number.js')
-rw-r--r-- | ui/app/components/input-number.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/components/input-number.js b/ui/app/components/input-number.js index 63e841288..2824d77aa 100644 --- a/ui/app/components/input-number.js +++ b/ui/app/components/input-number.js @@ -22,7 +22,7 @@ InputNumber.prototype.componentWillMount = function () { } InputNumber.prototype.setValue = function (newValue) { - const { fixed, min, onChange } = this.props + const { fixed, min = -1, onChange } = this.props if (fixed) newValue = Number(newValue.toFixed(4)) |