set inputType to 'number'