Parsing error: unrecognised value
Closed this issue · 3 comments
icex commented
On: https://www.jqueryscript.net/demo/Do-Calculations-Form-Fields-AutoCalc/
Just enter in Stuff -> Qty "-" instead of a number. Input fields should be validate :)
stanj98 commented
Hi, I'm facing the same issue, did you find a fix?
I want to accept negative numbers but how can I do this?
c17r commented
@stanj98 I'll take a look to see if there is a better way moving forward but to deal with it today, set the showParseError
option to false. It'll just return null and the downstream calculations will stop.
c17r commented
I just push 1.3.1 to npm that tries to parse after cleaning and stops the process if the value isn't valid.