mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
Form: Fix resetFields issue #(15181) (#15640)
This commit is contained in:
@@ -242,6 +242,11 @@
|
||||
prop.o[prop.k] = this.initialValue;
|
||||
}
|
||||
|
||||
// reset validateDisabled after onFieldChange triggered
|
||||
this.$nextTick(() => {
|
||||
this.validateDisabled = false;
|
||||
});
|
||||
|
||||
this.broadcast('ElTimeSelect', 'fieldReset', this.initialValue);
|
||||
},
|
||||
getRules() {
|
||||
|
||||
Reference in New Issue
Block a user