ParsedInputProps Interface
Props for ParsedInput control
Extends
Properties
Name | Type | Description | |
---|---|---|---|
formatValue | (value: number) => string | ||
initialValue | number | InitialValue which is used to restore input field if ESC is pressed | |
onChange | (newValue: number) => void | undefined | ||
parseString | (stringValue: string) => ParseResults | ||
readonly | boolean | undefined | if readonly then only the formatValue function is used. | |
ref | Ref<HTMLInputElement> | undefined | Provides ability to return reference to HTMLInputElement |
Inherited properties
Name | Type | Inherited from | Description |
---|---|---|---|
className | string | undefined | CommonProps | Custom CSS class name |
itemId | string | undefined | CommonProps | Optional unique identifier for item. |
style | CSSProperties | undefined | CommonProps | Custom CSS style properties |
Defined in
Last Updated: 13 May, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.