switch to max, min, step attributes