### The problem We've received a few points of feedback since introducing type="text" to NumberInput. These items need fixed. ### The solution - [ ] The event value from `onChange` and `onBlur` should be a Number, not the locale-formatted string. - If for some reason the consumer wants the locale-formatted string, they'll need to look at the input event.target.value directly - [ ] When focus is on a stepper button and focus moves away from that stepper button, `onBlur` is not called but should be - [ ] When the input field is empty, clicking a stepper should reset to `0` or move a `step`, also taking into account `min` and `max`. - min/max thoughts: Incrementing from an empty input always starts at `min`, decrementing always starts at `max`. If no `min` or `max` it starts at 0 ### Examples * https://ibm-studios.slack.com/archives/C2K6RFJ1G/p1749474613614339 * https://ibm-studios.slack.com/archives/C2K6RFJ1G/p1749478187315529 * https://ibm-studios.slack.com/archives/C2K6RFJ1G/p1749648029085619 ### Package @carbon/react
The problem
We've received a few points of feedback since introducing type="text" to NumberInput. These items need fixed.
The solution
onChangeandonBlurshould be a Number, not the locale-formatted string.onBluris not called but should be0or move astep, also taking into accountminandmax.min, decrementing always starts atmax. If nominormaxit starts at 0Examples
Package
@carbon/react