Fix propType in NumberInput.

Resolves #305, Closes #310.