diff options
| -rw-r--r-- | src/validators.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/validators.js b/src/validators.js index e3da0a81..4544b96c 100644 --- a/src/validators.js +++ b/src/validators.js @@ -103,9 +103,9 @@ foreach({ }); } - if (state === null){ + if (state === null && this['$invalidWidgets']){ // request in flight, mark widget invalid, but don't show it to user - (this['$invalidWidgets']||[]).push(this.$element); + this['$invalidWidgets'].markInvalid(this.$element); } return state; } |
