ParsedInputProps Interface

Props for ParsedInput control

Extends

Methods

Name Description
formatValue(value: number): string Function used to format the value  
onChange(newValue: number): void Optional Function to call when value is changed  
parseString(stringValue: string): ParseResults Function used to parse user input into a value  

Properties

Name Type Description
initialValue number InitialValue which is used to restore input field if ESC is pressed  
readonly undefined | boolean if readonly then only the formatValue function is used.  
ref undefined | Ref<HTMLInputElement> Provides ability to return reference to HTMLInputElement  

Inherited properties

Name Type Inherited from Description
className undefined | string CommonProps Custom CSS class name
itemId undefined | string CommonProps Optional unique identifier for item.
style undefined | CSSProperties CommonProps Custom CSS style properties

Defined in

Last Updated: 20 June, 2023