- Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
<UIStepper displayValue={true} initialValue={item.qty} minimumValue={1} maximumValue={10} value={item.qty} onMinimumReached={console.warn(' min reached')} onMaximumReached={console.warn(' max reached')} onIncrement={() => this.increment(item.id)} onDecrement={() => this.decrement(item.id)} />
The onMinimumReached and onMaximumReached events are always triggered upon render even when the value is 3.
By the way, my UIStepper is inside a FlatList (loop).
Am I lacking a setting?
Metadata
Metadata
Assignees
Labels
No labels