parent
6ce295d490
commit
40f746e3e2
|
@ -107,6 +107,8 @@ function useForm(
|
||||||
validateInfos: validateInfos;
|
validateInfos: validateInfos;
|
||||||
resetFields: (newValues?: Props) => void;
|
resetFields: (newValues?: Props) => void;
|
||||||
validate: <T = any>(names?: namesType, option?: validateOptions) => Promise<T>;
|
validate: <T = any>(names?: namesType, option?: validateOptions) => Promise<T>;
|
||||||
|
|
||||||
|
/** This is an internal usage. Do not use in your prod */
|
||||||
validateField: (
|
validateField: (
|
||||||
name: string,
|
name: string,
|
||||||
value: any,
|
value: any,
|
||||||
|
|
Loading…
Reference in New Issue