(fix) add min and max to input field