From 7c0e30ca8486d53d693f21b0339adea940c176db Mon Sep 17 00:00:00 2001 From: Wendell Date: Wed, 5 Jun 2019 15:38:42 +0800 Subject: [PATCH] fix(module:cascader): fix reset trigger redraw (#3481) close #3480 --- components/cascader/nz-cascader.service.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/cascader/nz-cascader.service.ts b/components/cascader/nz-cascader.service.ts index da4c492d047..fcbf0a838e8 100644 --- a/components/cascader/nz-cascader.service.ts +++ b/components/cascader/nz-cascader.service.ts @@ -130,6 +130,8 @@ export class NzCascaderService implements OnDestroy { this.selectedOptions = []; if (first && this.cascaderComponent.nzLoadData && !hasValue) { + // Should also notify the component that value changes. Fix #3480. + this.$redraw.next(); return; } else { initColumnWithIndex(0);