fix(Form): should reset validation before submit (#7103)
This commit is contained in:
@@ -255,6 +255,7 @@ export default createComponent({
|
|||||||
resolve();
|
resolve();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.resetValidation();
|
||||||
this.runRules(rules).then(() => {
|
this.runRules(rules).then(() => {
|
||||||
if (this.validateFailed) {
|
if (this.validateFailed) {
|
||||||
resolve({
|
resolve({
|
||||||
|
|||||||
Reference in New Issue
Block a user