Skip to main content

NumberInput

Number inputs let users enter and edit integers and floating-point numbers.

NumberInputProps

Signature:

export declare type NumberInputProps = <, | | | | | | | | | | > & < | , (value: | ) => > & & { /** Handler that is called when a key is pressed. */ onKeyDown?: <>; /** Minimum amount of the input. */ min?: | ; /** Maximum amount of the input. */ max?: | ; /** Defines the step size in which increments/decrements can be performed on the input. */ step?: ; };

NumberInputUncontrolledProps

Signature:

export declare type NumberInputUncontrolledProps = { /** The default value of the input */ defaultValue?: ; /** The value of the input. */ value?: ; };
NameTypeDefaultDescription
defaultValue?
-The default value of the input

NumberInputControlledProps

Signature:

export declare type NumberInputControlledProps = { /** The default value of the input */ defaultValue?: ; /** The value of the input. */ value?: | ; };
NameTypeDefaultDescription
value?
|
-The value of the input.
Still have questions?
Find answers in the Dynatrace Community