Edit to input field.

Now the input field only allows positive numbers and for decimal places
in Chrome (and possibly others)