From 466aa288a32435982546d9889e1f2cf81a45f83e Mon Sep 17 00:00:00 2001 From: luckyCao Date: Tue, 28 May 2019 14:15:57 +0800 Subject: [PATCH] Form: Fix resetFields issue #(15181) (#15640) --- packages/form/src/form-item.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/form/src/form-item.vue b/packages/form/src/form-item.vue index e9e3f0c54..e072f389f 100644 --- a/packages/form/src/form-item.vue +++ b/packages/form/src/form-item.vue @@ -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() {