From 6c1f3f3ff1224deab0f0a3f17cd726bc628e8652 Mon Sep 17 00:00:00 2001 From: Abdelrahman Awad Date: Sat, 5 Oct 2019 14:59:17 +0200 Subject: [PATCH] fix: remove uneeded check when provider re-renders closes #2388 --- src/components/common.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/components/common.ts b/src/components/common.ts index 46b0ae547..bb254c379 100644 --- a/src/components/common.ts +++ b/src/components/common.ts @@ -70,10 +70,6 @@ export function createValidationCtx(ctx: ProviderInstance): ValidationContext { } export function onRenderUpdate(vm: ProviderInstance, value: any | undefined) { - if (value === undefined) { - return; - } - if (!vm.initialized) { vm.initialValue = value; }