InputNumber Ranges (React)

Use the InputNumber's min and max properties to restrict the range of values that can be entered. Invalid numbers are discarded once editing is complete. In this sample, the InputNumber below only accepts values between 1 and 5.

This example uses React.