ReactNumericInputProps Interface

Beta  @deprecated use NumberInput

Base properties for the NumericInput component

Extends

  • Omit<React.InputHTMLAttributes<HTMLInputElement>, "min" | "max" | "step" | "onChange" | "defaultValue" | "onInvalid">
  • CommonProps

Properties

Name Type Description
componentClass undefined | string    
defaultValue string | number    
format undefined | (value: | number, strValue: string) => string    
max undefined | BoundsFunctionProp    
maxLength undefined | number    
min undefined | BoundsFunctionProp    
mobile boolean | "auto" | () => boolean    
noStyle undefined | boolean    
noValidate string | boolean    
onBlur undefined | FocusEventHandler<HTMLInputElement | HTMLDivElement>    
onChange undefined | (value: | number, stringValue: string, input: HTMLInputElement) => void    
onFocus undefined | FocusEventHandler<HTMLInputElement | HTMLDivElement>    
onInput undefined | FormEventHandler<HTMLInputElement>    
onInvalid undefined | (error: string, value: | number, stringValue: string) => void    
onKeyDown undefined | KeyboardEventHandler<HTMLInputElement | HTMLDivElement>    
onSelect undefined | ReactEventHandler<HTMLInputElement>    
onValid undefined | (value: | number, stringValue: string) => void    
parse undefined | (value: string) => | number    
precision number | () => undefined | | number    
setFocus undefined | boolean Indicates whether to set focus to the input element  
snap undefined | boolean    
strict boolean    
value string | number    

Defined in

Last Updated: 12 June, 2024