fix validation of number input field
requested to merge 103-basicapiexamples-positivenumber-does-not-always-detect-incorrect-integers-42 into master
Closes #103 (closed)
This should work. Really stupid that there are no built-in JS functions for this. Also Number("")
gives 0
instead of NaN
...