Optionalformat?: FieldFormatFunction<NumberFieldValue>OptionalInput?: (props: NumberFieldInputProps) => JSX.Element | nullThe input component to use when editing.
OptionalinputFormat?: (value: NumberFieldValue) => stringA function to format the value in the input into a standardized format. Only updates the value in the input on
mount and blur of the input. Not to be confused with format, which is used when the field is in display mode.
OptionallowerBound?: numberLower bound (exclusive) allowed for values (validation).
Optionalmax?: numberMaximum for values (validation).
Optionalmin?: numberMinimum for values (validation).
Optionalplaceholder?: stringPlaceholder text to display in the input when the value is blank.
Optionalstep?: numberThe stepping interval when using the arrow keys (up/down) to increment/decrement the value. Note that holding the shift key uses a step of ten times the given step.
Optionaltype?: NumberInputTypeThe type of number field.
Optionalunit?: numberThe underlying unit of the field. Can be used, for example, to enter values in the tenths, dozens, hundreds (e.g. to display as dollars but underlying value is cents), thousands, or millions.
OptionalupperBound?: numberUpper bound (exclusive) allowed for values (validation).
OptionalvalidationUnit?: numberUnit (divisibility) for validation (validation). Checks that the value is divisible by the given validationUnit.
For integer validation, set validationUnit to 1.
Format function for the value. Controls how the value should be formatted when displayed in smaller contexts where only strings are allowed.