Merge 27064dc35d into 2cda7bde09
commit
ecd36f379a
|
|
@ -77,8 +77,8 @@ export const formProps = () => ({
|
|||
export type FormProps = Partial<ExtractPropTypes<ReturnType<typeof formProps>>>;
|
||||
|
||||
export type FormExpose = {
|
||||
resetFields: (name?: NamePath) => void;
|
||||
clearValidate: (name?: NamePath) => void;
|
||||
resetFields: (nameList?: NamePath[]) => void;
|
||||
clearValidate: (nameList?: NamePath[]) => void;
|
||||
validateFields: (
|
||||
nameList?: NamePath[] | string,
|
||||
options?: ValidateOptions,
|
||||
|
|
|
|||
Loading…
Reference in New Issue