We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a933e9 commit a23d207Copy full SHA for a23d207
types/form.d.ts
@@ -72,11 +72,11 @@ export declare class ElForm extends ElementUIComponent {
72
* @param props The property of `model` or array of prop which is going to validate
73
* @param callback A callback to tell the field validation result
74
*/
75
- validateField (props: string | string[], callback: ValidateFieldCallback): void
+ validateField (props: string | string[], callback?: ValidateFieldCallback): void
76
77
/** reset all the fields and remove validation result */
78
resetFields (): void
79
-
+
80
/** clear validation message for certain fields */
81
clearValidate (props?: string | string[]): void
82
}
0 commit comments