change input type to 'number' for number field