#Guide on how to use Parser and Formatter props on Input Components such as NumberInput?

4 messages · Page 1 of 1 (latest)

frail gyro
#

See documentation

hexed spindle
#

Doesn't have to be a regular expression - can literally be anything

#

parser transforms the string value so it can be read properly - like removing $ and , so the string can be parsed to number

#

formatter takes the value and presents it as the string however you want it to be presented (like adding the dollar sign and comma separator)