diff --git a/src/screen/PowerSource/components/InstrumentCluster.js b/src/screen/PowerSource/components/InstrumentCluster.js index a402a5c6..836ecd77 100644 --- a/src/screen/PowerSource/components/InstrumentCluster.js +++ b/src/screen/PowerSource/components/InstrumentCluster.js @@ -52,7 +52,7 @@ const Settings = props => { }; const inputCheck = value => { - let regex = /^(?:\-)?[0-9]*(\.[0-9]{0,2})?$/; + let regex = /^(?:)?[0-9]*(\.[0-9]{0,2})?$/; return regex.test(value); };