Quantity field is a form control element that switches between a native select and input element.
Quantity field is intended for use with cart items and product quantities. The maximum number accepted in a quantity select is configurable and set to 10 by default. It will switch to a quantity input if 10+ is selected.
The default allowed range of numbers is 1 to 500. This can be changed by passing in the desired min and max values as inputs. Note that this does not validate the actual input. It merely informs the select which options it should generate and sets the input's min and max attributes. See input#min and input#max for more information.
The maximum value at which the field will switch to using an input is configurable.
Custom range limits is the absolute minimum and maximum values can be specified.