Since a numeric text box generates an HTML input field with type=“number”, it’d be helpful to also be able to set the min and max attributes for that text box so the browser helps the user enter the right range of values.
Yes, this can be done manually with the change event, but since we have a mechanism in HTML to do it automatically, it’s easier if we can use that.