chore: Added missing getFieldsError in WrappedFormUtils (#5133)

This commit is contained in:
Kyle Rosenberg 2017-03-01 19:33:46 -06:00 committed by feng zhi hao
parent 02773874a8
commit aa84b826c1

View File

@ -48,6 +48,7 @@ export type WrappedFormUtils = {
callback?: (erros: any, values: any) => void): void;
/** 获取某个输入控件的 Error */
getFieldError(name: string): Object[];
getFieldsError(names?: Array<string>): Object[];
/** 判断一个输入控件是否在校验状态*/
isFieldValidating(name: string): boolean;
/** 重置一组输入控件的值与状态,如不传入参数,则重置所有组件 */