Globals / "src/renderer/components/input/input_validators" / InputValidator
Interface: InputValidator#
Hierarchy#
- InputValidator
Index#
Properties#
Methods#
Properties#
debounce#
• Optional debounce: number
Defined in src/renderer/components/input/input_validators.ts:8
message#
• Optional message: ReactNode | (value: string, props?: InputProps) => ReactNode | string
Defined in src/renderer/components/input/input_validators.ts:10
Methods#
condition#
▸ Optionalcondition(props: InputProps): boolean
Defined in src/renderer/components/input/input_validators.ts:9
Parameters:
| Name | Type |
|---|---|
props |
InputProps |
Returns: boolean
validate#
▸ validate(value: string, props?: InputProps): boolean | Promise\
Defined in src/renderer/components/input/input_validators.ts:11
Parameters:
| Name | Type |
|---|---|
value |
string |
props? |
InputProps |
Returns: boolean | Promise\
Last update: November 10, 2020