Interface: InputValidator#
Renderer.Component.InputValidator
Table of contents#
Properties#
Methods#
Properties#
debounce#
• Optional debounce: number
message#
• Optional message: ReactNode | (value: string, props?: InputPropsReactNode
Methods#
condition#
▸ Optional condition(props): boolean
Parameters#
| Name | Type |
|---|---|
props |
InputProps<string> |
Returns#
boolean
validate#
▸ validate(value, props?): boolean | Promise<any>
Parameters#
| Name | Type |
|---|---|
value |
string |
props? |
InputProps<string> |
Returns#
boolean | Promise<any>