Merge remote-tracking branch 'upstream/master'

This commit is contained in:
rickcole 2020-08-10 19:21:41 +08:00
commit 590b50d774
1 changed files with 1 additions and 1 deletions

View File

@ -380,7 +380,7 @@ export default class FormControl extends React.PureComponent<
(validateOnChange !== false && (form.submited || this.model.validated))
) {
this.lazyValidate();
} else if (validateOnChange === false && !this.model.valid) {
} else if (validateOnChange === false) {
this.model.reset();
}