Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions types/form.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ export declare class ElForm extends ElementUIComponent {
* @param props The property of `model` or array of prop which is going to validate
* @param callback A callback to tell the field validation result
*/
validateField (props: string | string[], callback: ValidateFieldCallback): void
validateField (props: string | string[], callback?: ValidateFieldCallback): void

/** reset all the fields and remove validation result */
resetFields (): void

/** clear validation message for certain fields */
clearValidate (props?: string | string[]): void
}