style: add warning form validateField #4536

close #4536
This commit is contained in:
tangjinzhou 2021-08-18 20:57:51 +08:00
parent 6ce295d490
commit 40f746e3e2

View File

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