From dd1d6588b59b79c37215c3efd91cf2f31ad0e3a4 Mon Sep 17 00:00:00 2001 From: Dailer Date: Tue, 15 Mar 2022 11:10:41 +0800 Subject: [PATCH] Update src/core/4.widget.js --- src/core/4.widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/4.widget.js b/src/core/4.widget.js index 020366a3a..15a050f91 100644 --- a/src/core/4.widget.js +++ b/src/core/4.widget.js @@ -322,7 +322,7 @@ } if (this.options.invalid) { var invalid = BI.isFunction(o.invalid) ? this.__watch(o.invalid, function (context, newValue) { - self.setEnable(!newValue); + self.setValid(!newValue); }) : o.invalid; if (invalid) { this.setValid(false);