Adding 'number' parameter to text field

By settings 'number' => true, the input has a "number" type (instead of
"text") to show the + and - controls (on modern browsers).