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?: ;
};
Name | Type | Default | Description |
---|---|---|---|
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?: | ;
};
Name | Type | Default | Description |
---|---|---|---|
value? | | | - | The value of the input. |
Still have questions?
Find answers in the Dynatrace Community