API Reference > ui-components > Inputs > ParsedInputProps ParsedInputProps Interface Beta Props for ParsedInput control Extends CommonProps 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 style undefined | CSSProperties CommonProps Custom CSS style properties Defined in ui/components/src/ui-components/inputs/ParsedInput.tsx Line 18 Last Updated: 11 June, 2024