From f541d3a7b506fe5ba69db9fe48ce7571a04bd76d Mon Sep 17 00:00:00 2001 From: Beorn Facchini Date: Sun, 18 Jul 2021 15:53:30 +1000 Subject: [PATCH] Show error messages on blur after pending validations --- src/libs/context.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libs/context.js b/src/libs/context.js index 70be641d..7b401df3 100644 --- a/src/libs/context.js +++ b/src/libs/context.js @@ -502,7 +502,9 @@ function slotProps () { */ function blurHandler () { if (this.errorBehavior === 'blur' || this.errorBehavior === 'value') { - this.behavioralErrorVisibility = true + this.pendingValidation.then(() => { + this.behavioralErrorVisibility = true + }) } this.$nextTick(() => this.$emit('blur-context', this.context)) }