Stepper
A component used for increasing or decreasing quantities.
Name | Type | Description |
---|---|---|
initialValue | number |
The initial value of the stepper. |
onValueChanged | (value: number) => void |
A callback to be performed when the stepper value changes. |
disabled | boolean? |
Whether the stepper is disabled. |
- Used to adjust the quantity of something, like the quantity of an item in the return flow or the quantity of a coin/bill in the register counting tool.
- Quantity steppers can only be used in combination with a quantity field.
Example: When selecting items to return in the return flow, steppers and quantity fields are used. They allow the merchant to increase or decrease the quantity of the items being returned.