Custom input element for number data type