added min and max to input type number