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